The invoice that was off by one cent
In a billing-style module, an invoice total sometimes differed by one cent from the sum of its line items. It happened rarely, only for certain quantities and tax rates, and finance users spotted it before any test did.
Danger level: medium
- PHP
- Laravel
- MySQL