[Koha-bugs] [Bug 3166] New: Fines are summing off by 1 penny due to rounding issue when summing.
bugzilla-daemon at liblime.com
bugzilla-daemon at liblime.com
Mon Apr 27 22:41:16 CEST 2009
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3166
Summary: Fines are summing off by 1 penny due to rounding issue
when summing.
Product: Koha
Version: rel_3_0
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: PATCH-Sent
Component: Patrons
AssignedTo: galen.charlton at liblime.com
ReportedBy: drdrulm at yahoo.com
Estimated Hours: 0.0
Fines are summing off by 1 penny due to rounding issue when summing.
This only occurs when summing many many records. The round off error occurs in
the summation.
There is a multiplicand of 100 and then a divisor of 100. To ensure the
summation will work for many fines, just make the multiplicand 1000 and the
divisor 1000.
If there is still a problem with this, then bump it to 10000.
-D.Ulm
--
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list