2011/4/8 Hilaire Fernandes <[email protected]>:
> Well, whatever the underneath representation, one can expect roundedTo:
> 2 to return a float with two decimals.
>
> I am only interested in roundedTo: to display in the DrGeo canvas
> numbers. It was still funny to see sometimes number with 10 digits.
>
> Thanks for the info.
>
>
> Hilaire
>

Previous versions were lying too by not printing a number that would
be reinterpreted into itself.
But if it is what you want, then you should use the old print message,
#absPrintOn:base:
Maybe it could be wrapped into a printApproximatelyOn: to be
polymorphic with other numbers ?

Nicolas

> --
> Education 0.2 -- http://blog.ofset.org/hilaire
>
>
>

Reply via email to