Money is Decimal
Floating point drifts by fractions of a cent. Ledgers do not.
Why
Most computers store numbers in binary, and most decimal fractions — 0.1 included — have no exact binary form. Arithmetic on them picks up a tiny error, far smaller than a cent on its own. That error does not matter in a measurement. It matters in a ledger, because a ledger has to foot exactly, and the error does not cancel out: it accumulates and occasionally tips a rounding the wrong way.
Every amount on this site is created from text and held as a decimal with a fixed number of places, never as a binary float, and each rounding step is written down rather than left implicit.
Read the full case
The rule, with the arithmetic that breaks it and a test run across 40,000 invoice lines: Money is never a float.