[squeak-dev] [BUG] some float truncateTo: x results x !!!

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri Jun 3 21:54:41 UTC 2011


This does not contradict my own expectations.
What do you expect ?

Nicolas

2011/6/3 Casimiro de Almeida Barreto <casimiro.barreto at gmail.com>:
> Try:
>
> Transcript show: (3.9438283 truncateTo: 2) asString; cr.
>
> It will print a nice 2 !!!
> Change to 3. Then, a nice 3 !!!
>
> SqueakVM,
> squeak trunk
> Linux
> always reproducible.
>
> Guess nobody using truncateTo for a while...
>
>



More information about the Squeak-dev mailing list