Differences are judged by rules in code
Comparing quantities, prices, amounts, totals and tax has to give the same answer every time. The rules and tolerances are written in code and shown on the page. A difference inside the tolerance is kept as “within tolerance”, not hidden.