Message80869
This is not a bug; it's a consequence of the finite accuracy of floating-
point arithmetic. If you look at the actual value that's stored for
'2.545', you'll see that it's actually slightly less than 2.545, so
rounding it down is the correct thing to do.
>>> 2.545
2.5449999999999999 |
|
Date |
User |
Action |
Args |
2009-01-31 14:12:39 | mark.dickinson | set | recipients:
+ mark.dickinson, Ultrasick |
2009-01-31 14:12:39 | mark.dickinson | set | messageid: <1233411159.77.0.485887752138.issue5118@psf.upfronthosting.co.za> |
2009-01-31 14:12:37 | mark.dickinson | link | issue5118 messages |
2009-01-31 14:12:36 | mark.dickinson | create | |
|