> At first I thought /scale could be used to achieve such rounding, but all my > attempts at doing so have failed. For example: > > round 123.456 /scale 2 > > gives an integer result of: > > 2
I think it returns 2 just because it is the last number you wrote. Anyway you can accomplish it this way: round/to 123.456 0.01 == 123.46 round/to 123.454 0.01 == 123.45 Luca -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
