interface MoneyCellProps { value: string | number | null | undefined; } /** Display-only formatting — never round-trips this formatted value back to the server. */ export function MoneyCell({ value }: MoneyCellProps) { const amount = Number(value ?? 0); if (amount === 0) return —; return {amount.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}; }