30,997
edits
No edit summary |
|||
| Line 15: | Line 15: | ||
We have 2 ways to calculate the total of invoice: making a sum of rounding lines or rounding the sum of lines. | We have 2 ways to calculate the total of invoice: making a sum of rounding lines or rounding the sum of lines. | ||
1) If we choose to make the sum of | 1) If we choose to make the sum of lines after rounding lines, we get: | ||
* Total without tax: 1.24(E1) + 1.24(E2) = '''2.48''' | * Total without tax: 1.24(E1) + 1.24(E2) = '''2.48''' | ||
* Total tax 10%: 0.12(G1) + 0.12(G2) = '''0.24''' (we sum the rounded values of tax on each line) | * Total tax 10%: 0.12(G1) + 0.12(G2) = '''0.24''' (we sum the rounded values of tax on each line) | ||