[Newbies] Rouding Floats up to a number of decimals - Method Finder

cdrick cdrick65 at gmail.com
Wed Jul 23 15:21:45 UTC 2008


arffff thanks all ;)

1.23456 printShowingDecimalPlaces: 3

I knew that had to exist...Since I know the method finder I became
lazy to search far ;)

See you

Cédrick

2008/7/23 Herbert König <herbertkoenig at gmx.net>:
> Hello Cédrick,
>
> search the "truncating and rounding" and "printing" protocols of Number
> there you'll find some help.
>
> --
> Cheers,
>
> Herbert
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>


More information about the Beginners mailing list