April 8, 2011
4:52 p.m.
It looks like a known issue: printShowingDecimalPlaces: placesDesired "This implementation avoids any rounding error caused by rounded or roundTo: " ^ self asTrueFraction printShowingDecimalPlaces: placesDesired Le 08/04/2011 18:47, Hilaire Fernandes a écrit :
2.8011416510246336 roundTo: 0.01
returns
2.8000000000000003
Tested with 1.2
Should I fill a ticket, I don't see anythings similar?
Hilaire
-- Education 0.2 -- http://blog.ofset.org/hilaire