cal.pub0.org/packages/features/insights/lib/valueFormatter.ts

2 lines
102 B
TypeScript

export const valueFormatter = (number: number) => `${Intl.NumberFormat().format(number).toString()}`;