Comment 52 for bug 707923

Revision history for this message
Nautica (nautica1959) wrote : Re: [5 - 6.0 - 6.1] invoice tax - rounding issues and computation method

> Ferdinand @ Camptocamp (office-chricar) wrote on 2011-12-25:
> does this help ?
> http://bazaar.launchpad.net/~c2c/c2c-rd-addons/trunk/files/head:/c2c_account_tax_rounding/

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