diff --git a/apps/web/src/utils/format.ts b/apps/web/src/utils/format.ts index 7d88cef..101f22a 100644 --- a/apps/web/src/utils/format.ts +++ b/apps/web/src/utils/format.ts @@ -127,7 +127,7 @@ const formatInteger = (value: number): string => { const steps = stepsAboveBase * 3; const divisorExp = letterBaseExp + steps; const divisor = Math.pow(10, divisorExp); - return `${String(Math.floor(value / divisor))}${getLetterSuffix(stepsAboveBase)}`; + return `${String(Math.round(value / divisor))}${getLetterSuffix(stepsAboveBase)}`; } for (const { threshold, suffix } of namedSuffixes) { if (value >= threshold) {