Hi, just a simple numerical example using nicolas' implementation: 1.199999999999999999 round: 1. "1.2"i'd guess this result is more or less what a beginner would expect with this line. how would he do it with roundTo:? perhaps this way?
1.199999999999999999 roundTo: 0.1. "1.2000000000000002"i'm not so sure that he would immediately see that he'd need to do it this way:
(1.199999999999999999 roundTo: (1/10))asFloat. "1.2" werner
