Overview

This page assists those who are needing to understand how Emersion's system handle rounding, particularly on tax calculations.


Tax Calculations

In Emersion, tax is always calculated first. The following formulas apply:

ex-tax amount = total - tax amount.
total = round(invoiceEx + invoiceTax, 2)

roundedTax = round(invoiceTax, 2)

roundedEx = total - roundedTax


Rounding Small Amounts

Transactions comprising micro amounts can sometimes result in some confusion. The following outcomes apply when rounding is applied to micro amounts.


ex-tax amount = total - tax amount
Ex taxTaxTotal
0.000.000.00
0.010.000.01
0.020.000.02
0.050.000.05
0.050.010.06
0.090.010.10
0.100.010.11
0.110.010.12