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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 12 11:31:09 CEST 2017


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

--- Comment #12 from Koha Team Lyon 3 <koha at univ-lyon3.fr> ---
(In reply to Nick Clemens from comment #8)
> Hi Sonia,
> 
> So do your invoices from vendors include portions of a cent? 
> 
Hi Nick,
Our invoice amount looks like 1453.78 for example.

But our colleagues often say us that there's few penny difference between Koha
and the invoice amount.

It seems really tricky to have the exact calculation so I suppose that rounding
only at the last step of calculation (addition of prices of an invoice) could
reduce rounding error ?


> It seems most libraries/vendors round to nearest penny in the final
> calculations so not rounding causes errors. If you have the opposite
> situation perhaps we need a system preference to control exact vs. rounded
> prices?

Yes, as Finland and Switserland are other rounding pratices, a syspref could be
a solution...
Sonia

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


More information about the Koha-bugs mailing list