2 lines
62 B
JavaScript
2 lines
62 B
JavaScript
|
export const coordsToPercent = coord => (1 + coord) / 2 * 100
|