[Koha-bugs] [Bug 18736] Problems in order calculations (rounding errors)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 15 11:24:03 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18736

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|BLOCKED                     |Passed QA

--- Comment #179 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
QA Comment:
I re-entered the example with 8 * 16,99 and 42% discount, 19.45% tax.

With the following results when patches applied:
OrderPriceRounding=Dont
Basket page 78,83 + 15,33 tax. == 94,16
Fund page 94,17
=> No match between basket and fund !

OrderPriceRounding=Nearest cent
Basket page: 78,80 + 15,33 tax == 94,13
Fund page: 94,16
=> No match either between basket and fund !

And without these patches:
Basket page 78,83 + 15,33 tax. == 94,16
Fund page: 94,17
=> No match either.

Conclusion: Please see also my previous comments. I am not repeating them here.
With the default setting of Don't round we make no difference in this example;
so no behavior change.. The Nearest cent choice does not resolve the
discrepancy between basket and fund, as noted before.

As already mentioned, I do not object to push this patch set. But this simple
exercise already shows that we did not solve the rounding issues.

Passed QA

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list