I had to change prices to 4 decimals and it's OK. However, i have sometimes rounded cent in totals which is wrong. The explanation is that all calculations (subtotal, VAT and total) are on 4 decimals then rounded to 2 decimals. With rounding, subtotal + VAT is sometimes different for 1 cent from total.
To fix this, i need to :
- keep product prices to 4 decimals
- keep subtotal calculate on 4 decimals then rounded it to 2 decimals
- calculate VAT and total from this rounded subtotal and not from the 4 decimals subtotal.
But i can't figure how to do this. I tried multiple solutions and nothing is working : even with forcing subtotal/VAT and saving, it seems to be calculated again elsewhere and 4 decimals appear again.
Can you give me some piece of advice on how to achieve this ? Thanks !