[Koha-bugs] [Bug 18736] Problems in order calculations (rounding errors)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 26 18:15:52 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18736
--- Comment #9 from Marc Véron <veron at veron.ch> ---
(In reply to Nick Clemens from comment #8)
> Hi Sonia,
>
> So do your invoices from vendors include portions of a cent?
>
> 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?
>
> -Nick
>
> (In reply to Koha Team Lyon 3 from comment #7)
> > Hi,
> > what we need in our library is to have the more precise price for order and
> > the exact invoice price. So we sould surely store precise result rather than
> > rounded price.
> > But, people will not understand if we display rounded prices and if the
> > total is calculated on prices with 4 decimals...
> > Perhaps, we souhld display more precise price (4 decimals ?)...
> >
> > I'm not really sure to help in this discussion because I feel that I miss
> > some technical points.
> >
> > Sonia
To make things a little bit more complicated:
Switzerland and Finland round to 5 cents.
1,000–1,024 → 1,00
1,025–1,074 → 1,05
1,075–1,099 → 1,10
See: https://de.wikipedia.org/wiki/Rundung
("Rappenrundung": 5 Rappen (cents) is the smallest coin in Switzerland)
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list