feat: another balance and bug fix pass #238

Merged
naomi merged 9 commits from feat/another-pass into main 2026-04-06 18:17:01 -07:00
Showing only changes of commit e9e5678a0a - Show all commits
+1 -1
View File
@@ -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) {