From 982e52bd7450a1a6389683deb571d34485a7cffa Mon Sep 17 00:00:00 2001 From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Date: Mon, 20 Apr 2026 01:20:38 -0700 Subject: [PATCH] ui(score-card): remove fraction digits from displayed value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #85. One-line change: `{value.toFixed(2)}` -> `{value}` at line 21 of components/score-card.tsx to render whole numbers instead of two-decimal floats for improved readability, per the task list in the issue. Callers passing already-rounded numbers get the same output; callers that were previously relying on the forced two-decimal format (e.g. for consistent visual alignment of 3.00 vs 2.50) lose that formatting — which is the intended change per the issue. --- components/score-card.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/score-card.tsx b/components/score-card.tsx index db74739..65d667a 100644 --- a/components/score-card.tsx +++ b/components/score-card.tsx @@ -18,7 +18,7 @@ export function ScoreCard({ title, value, highlight, subtitle }: ScoreCardProps)

{title}

- {value.toFixed(2)} + {value} {subtitle && ( {subtitle}