Keep full values, precision and the rounding point. Adding already rounded amounts and rounding their exact sum can produce different results.
State a rule for the exercise
We use fictional currency units displayed to two decimal places. For these positive amounts, round to the nearest value, resolving exact ties upward. For example, 20.125 becomes 20.13. Decimal's documentation calls the tie-away-from-zero criterion ROUND_HALF_UP.
This is a stated rule for reconstructing the example, rather than a tax rule or universal invoicing requirement. An actual quote must use the precision and procedure applicable to its agreement and system. We calculate no taxes, fees or collection adjustments here.
Add three rounded lines
The exact amounts of the three lines, after their respective calculations, are 20.125, 30.125 and 40.125. Under the chosen rule, they become 20.13, 30.13 and 40.13. If the procedure first defines each rounded line amount and then adds them, the total is 90.39.
Keep both fields: exact calculation amount and line amount used in the sum. Retaining only two-decimal values prevents reconstructing the information that existed before that step. Do not change the original price to explain a difference introduced by rounding.
Repeat the calculation with one final rounding
The exact sum is 20.125 + 30.125 + 40.125 = 90.375. If the procedure adds those full values and rounds only the total to two decimals, the result is 90.38. It differs from 90.39 by 0.01, although no input amount changed.
Both paths follow the same rounding rule but apply it at different moments. The example demonstrates that arithmetic distinction, rather than choosing which one should be agreed. Identify each document's path before attributing the cent to a data-entry error.
Distinguish displaying decimals from changing a value
A tool can display 20.13 while retaining 20.125 for its next calculation. Seeing two decimals on screen is insufficient to determine what was added. Inspect the formula, retained value and relevant setting; if a rounding function exists, identify where it applies.
Microsoft describes ROUND as rounding to a specified number of digits. That is a reference for checking a spreadsheet, rather than evidence that a particular quote uses it. Our example uses exact decimal values; we do not claim to have inspected a customer's spreadsheet or system.
Agree how the document will be checked
A reconciliation record can retain three full amounts, three rounded amounts, the exact sum, each path's total and the difference. Add tie-breaking rule, precision and approved procedure. Another person can then reproduce the result without guessing what lay behind the visible figure.
If the agreement requires adding already rounded lines, check that sum. If it requires rounding at the end, retain full calculations. Retrospectively switching criteria to eliminate a cent makes the quote harder to trace. A useful review explains the difference and applies the corresponding procedure consistently.
Follow the evidence.
Sources checked November 30, 2026. The exercise scenarios and figures are fictional. Our editorial standards.