number.ts 115 B

123
  1. export const formatNumber = (num: number): string => {
  2. return num.toLocaleString('en-US').split(',').join(' ')
  3. }