We have a problem in one of our customers shops, where the calculation of payment fees, vat and totals are mathematically correct but looks wrong because of the rounding.
This is what the customer sees and what the bookkeeper has a difficult time handling:
Product: kr 15.293,00
Payment fee (1,75%): kr 267,63
Subtotal: kr 15.560,63
Vat (25%): kr 3.890,16
Total: 19.450,78
As you can see the subtotal (15.560,63) + vat (3.890,16) should be 19.450,79 and not ,78
Matematically (when you use all decimals) the calculation is correct though:
Product: kr 15.293,00
Payment fee (1,75%): kr 267,6275
Subtotal: kr 15.560,6275
Vat (25%): kr 3.890,15688
Total: 19.450,78438
This all happens because each number is rounded to 2 decimals, but the calculations are based on the full number including all decimals. I have read that that the dw database will always use as many decimals as possible and that the rounding is handled in UI.
Is there a way to change this and use the rounded numbers in the calculation?