Not quite. as @mrockel described for most of all amounts it works now but still has problems with float issue for rounding when a (tax)amount is exactly in the middle.
e.g.
Item 1 = 96.75
Item 2 = 6.75
sub Total = 103.50
Tax 19% = 19.66
GrandTotal = 123.16
This is wrong an should be 123.17
103.50 x 19%= 19.665 so Grant Total would be 123.165 wich is rounded to 123.16 instead of 123.17
> Ferdinand @ Camptocamp (office-chricar) wrote on 2011-12-25: bazaar. launchpad. net/~c2c/ c2c-rd- addons/ trunk/files/ head:/c2c_ account_ tax_rounding/
> does this help ?
> http://
Not quite. as @mrockel described for most of all amounts it works now but still has problems with float issue for rounding when a (tax)amount is exactly in the middle.
e.g.
Item 1 = 96.75
Item 2 = 6.75
sub Total = 103.50
Tax 19% = 19.66
GrandTotal = 123.16
This is wrong an should be 123.17
103.50 x 19%= 19.665 so Grant Total would be 123.165 wich is rounded to 123.16 instead of 123.17
I can confirm this