diff --git a/backend/src/multi-state/state-query-service.ts b/backend/src/multi-state/state-query-service.ts index 120cce6e..6d355535 100644 --- a/backend/src/multi-state/state-query-service.ts +++ b/backend/src/multi-state/state-query-service.ts @@ -824,10 +824,11 @@ export class StateQueryService { const result = await this.pool.query(query, params); // Parse numeric values from strings (PostgreSQL returns bigint as string) + // Round to 2 decimal places for display return result.rows.map((row: any) => ({ state: row.state, stateName: row.stateName, - value: row.value !== null ? parseFloat(row.value) : 0, + value: row.value !== null ? Math.round(parseFloat(row.value) * 100) / 100 : 0, label: row.label, })); }