# fix\(costs\): omit the sign from monetary amounts rounded to zero \(\#574\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/ccd67937717f30ac89b3bdf39f6753838ca03b9c)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: ccd67937717f30ac89b3bdf39f6753838ca03b9c

Requested commit: ccd67937717f30ac89b3bdf39f6753838ca03b9c

Commit: ccd67937717f30ac89b3bdf39f6753838ca03b9c

Tree: e02f94d1efd1ccee234e574b78d69638c66a1c4d

Author: Simone

Committer: GitHub

## Message

```
fix(costs): omit the sign from monetary amounts rounded to zero (#574)

Use the displayed two-decimal precision when deciding whether an amount is negative. Previously a small negative balance such as -0.001 rendered as -$0.00.

Add regression coverage for currencies, locale separators, and negative values that remain visible after rounding. Update the usage guide and Unreleased changelog; no TODO parity item or CLI contract is affected.
```

## Parents

- [4c9d154491029b5d710fa7287f72135c8795a6c3](https://git.cafe/lucenx/codexbar-plasma/commit/4c9d154491029b5d710fa7287f72135c8795a6c3?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/ccd67937717f30ac89b3bdf39f6753838ca03b9c?format=markdown)
