fix: add comma to substat number formatting

This commit is contained in:
2026-03-31 17:03:04 +07:00 Unverified
parent d1479c7cfb
commit 8d3fd5ada0
+1 -1
View File
@@ -65,6 +65,6 @@ export function buildRollSummary(
efficiency: roll.efficiency.toFixed(1), efficiency: roll.efficiency.toFixed(1),
formatted: roll.isPercent formatted: roll.isPercent
? `${(roll.value * 100).toFixed(1)}%` ? `${(roll.value * 100).toFixed(1)}%`
: Math.round(roll.value).toString(), : Math.round(roll.value).toLocaleString(),
})); }));
} }