Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #6202

Category None
Changed by Bill Erickson <berickxxohnoyoudont@gmail.com>
Changed at Thu 23 May 2019 11:25:34
Repository git://git.evergreen-ils.org/Evergreen.git
Project Evergreen
Branch master
Revision 297fedb2e611e2aa00d9d550712f794bd20ba16c

Comments

LP#1704819 Fine generator avoids int() rounding
Avoid using the Perl int() function for rounding in the fine generator,
since it can have unexpected outcomes.

For example:

$ perl -e 'print "230 = " . int(100 * 2.30) . "\n"'
230 = 229

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

Changed files