diff --git a/src/Number.ts b/src/Number.ts index 64460dbd..f19b16fd 100644 --- a/src/Number.ts +++ b/src/Number.ts @@ -7,8 +7,8 @@ export function formatShort(n: number) { if (n < 999) { return n } else if (n < 1e8) { - return `${intl.format(Math.floor(n / 1e3))}K` + return `${intl.format(n / 1e3)}K` } else { - return `${intl.format(Math.floor(n / 1e6))}M` + return `${intl.format(n / 1e6)}M` } }