Bug library · display · math
Currency format
Cents are not zero-padded, so $58.00 renders as $58.0 and $4.00 as $4.0.
The diff
lib/money.ts- const rest = String(abs % 100).padStart(2, "0");+ const rest = String(abs % 100);
Cents are not zero-padded, so $58.00 renders as $58.0 and $4.00 as $4.0.
lib/money.ts- const rest = String(abs % 100).padStart(2, "0");+ const rest = String(abs % 100);