[Koha-bugs] [Bug 18736] Problems in order calculations (rounding errors)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 6 21:11:33 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18736
--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 64065
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64065&action=edit
Bug 18736: Correctly handle rounding
The values displayed should be the sum of the rounded values, not the
reverse.
In ModReceiveOrder, i am wondering if:
tax_value_on_ordering = quantity * format(ecost_tax_excluded) *
format(tax_rate_on_ordering)
is correct or if it must be:
tax_value_on_ordering = quantity * format(ecost_tax_excluded *
tax_rate_on_ordering)
Note: the second form is used in 16.06.00.042 (bug 13321)
--
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