fix(cost): avoid negative-zero credit balances (#217)

A credit balance between -0.05 and 0 rounds to zero at the displayed
precision, but formatCount() formatted the magnitude and then prepended
the sign unconditionally, producing the string "-0". Drop the sign when
the rounded figure is zero.

Add a behavioural regression test covering the tiny negative case and
the negative controls that must keep their sign, and record the fix under
Unreleased.
e9f434ce6aSimone committed on 9/11/2026, 1:39:08 AM· committed by GitHubparentfaf5f74
3 files changedLine totals unavailable