sdf-2d/src/helper/to-percent.ts
schmelczerandras 77bde04db3 Add files
2020-09-15 10:08:16 +02:00

1 line
75 B
TypeScript

export const toPercent = (value: number) => `${Math.round(value * 100)}%`;