[Koha-bugs] [Bug 17140] Incorrect rounding in total fines calculations, part 2
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 20 21:27:06 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17140
Blou <philippe.blouin at inlibro.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |philippe.blouin at inlibro.com
Assignee|koha-bugs at lists.koha-commun |philippe.blouin at inlibro.com
|ity.org |
--- Comment #24 from Blou <philippe.blouin at inlibro.com> ---
6 decimal is ugly. We should never show technolgies' failings to the user.
Just to confirm that Bug 21673 does not fix this issue. At least my client's
version of it, which is trying to pay a 1.035 fine displayed as 1.04.
I'll assign myself the issue and fix it tomorrow. IMO, we should solve this
with common sense and not an accounting mentality.
For 1.035, we display 1.04, as it should.
Then on payment, we validate if there's a difference of less than 0.01. If so
then
AmountPaid = AmountNeededToBePaid.
Just before the comparison.
Anyway, accountants HATE those remaining cents at the end of the year.
--
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