What it does
Is every money amount stored as a whole number of the smallest unit (cents) and converted with an explicit rounding step, never kept in a decimal or floating-point column or carried through float arithmetic before it is stored or sent?
How it helps you
Money is stored in whole cents, so rounding errors stay out of your totals.
Tested against itself
36 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Payments |
|---|---|
| Also filed under | Data |
| Checks in this category | 32 |
| ISO/IEC 25010 | Functional suitability: functional correctness |
| Breaks caught | 36 |