Imagine a tip receipt that displays each payment to the nearest tenth of a millinero. At an exact halfway value it rounds up. The footer adds the original payments, then rounds the total.
Every row says 1.0 mXMR. What’s the fewest rows needed for the footer to exceed the sum of the printed rows by 0.3 mXMR?
Six receipts are enough.
A payment that prints as 1.0 can be anywhere from 0.950000000 to 1.049999999 mXMR. So each row can hide just under 0.05 mXMR on the high side. A five-row footer would need at least 5.25 to print 5.3. Even five payments at the top of the range add up to only 5.249999995, which prints as 5.2.
Try six payments of 1.049 mXMR. The exact sum is 6.294 mXMR. The six rows still say 1.0, while the total prints as 6.3. The same rounding rule produced every value on the page.
This is why a useful ledger export keeps the integers behind the display. A tenth of a millinero is 100,000,000 piconero. For nonnegative amounts in this example, add 50,000,000 piconero and take the integer quotient by 100,000,000 to get the number of tenths to display. Apply that rule to each row for its preview and to the sum of the raw integers for the footer. A difference between the two printed totals then has a clear explanation you can check against the exact amounts.