Line 22:
Line 22:
Note that if we sum rounded price inc tax on each line, we get: 1.36 + 1.36 = '''2.72''' (same result than previous line so we know there is no error)
Note that if we sum rounded price inc tax on each line, we get: 1.36 + 1.36 = '''2.72''' (same result than previous line so we know there is no error)
−
2) If we choose to rounding amount that is sum of all lines, we get:
+
2) If we choose to round amount that is sum of all lines, we get:
Total here are:
Total here are:
* Total without tax: 1.24 + 1.24 = '''2.48''' (same than in method 1)
* Total without tax: 1.24 + 1.24 = '''2.48''' (same than in method 1)