summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBradley M. Kuhn <bkuhn@ebb.org>2013-02-20 07:47:33 -0500
committerBradley M. Kuhn <bkuhn@ebb.org>2013-02-20 07:49:50 -0500
commitb378359f5f4fbfad3475f362699e3d353c1f7e80 (patch)
tree1fd9bf9a8528de9c4e74b78e4a3c00f99a064475 /test
parentf33d232ba34e46e17a39e08ee2f2ad78b5aafb1a (diff)
downloadfork-ledger-b378359f5f4fbfad3475f362699e3d353c1f7e80.tar.gz
fork-ledger-b378359f5f4fbfad3475f362699e3d353c1f7e80.tar.bz2
fork-ledger-b378359f5f4fbfad3475f362699e3d353c1f7e80.zip
Use a Math::BigFloat() rather than a regular float for Adjustment comparison.
Based on patch review by Loïc Dachary <loic@dachary.org>, we discovered that this script inconsistently used 0.02 as a float when comparing against numbers from the Math::BigFloat() package. While there were no known bugs related to this (presumably the 0.02 got coerced into a BigFloat (or vice-versa) and compared properly), this change nevertheless normalizes to use of a BigFloat for comparison.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions