Docs for all releases
There are two features: Totals Calculation and Taxes Calculation in the Invoices Templates section that help to avoid rounding issues with float numbers and missing cents.
For instance, if you have the next parameters:
- calls with the cost: $0.005 (the tax is $0.00105)
- package with activation fee: $ 7.1144 per month (the tax is $1.494024)
- package with activation fee: $ 5.1144 per month (the tax is $1.074024)
- package with activation fee: $ 3.1144 per month (the tax is $0.654024)
- tax 21%
And you select respective options:
Round then sum and Percent from the total amount | Sum then round and Sum of individual taxes |
---|---|
Then it rounds specified above values in the invoice just like that:
After it calculates the total amount ($0.01+$7.11+$5.11+$3.11) = $15.34, the total amounts are as follows:
| It takes specified above not rounded values and calculates the total amount ($0.005+$7.1144+$5.1144+$3.1144) = $15.3482.
|
Therefore, it's less than $0.01 cent from the total amounts. Totals may not match due to the selected option of the rounding method.