[squeak-dev] Some strange behavior

Mateusz Grotek unoduetre at poczta.onet.pl
Thu Oct 28 21:46:28 UTC 2010


> The fact that Squeak prints 6 * 0.2 as 1.2 and not as 1.2000000000000002
> is a result of the particular algorithm that is being used for printing
> floats as decimal numbers.
> 
> Cheers,
> Hans-Martin
> 
> 
Yes, that was something I wondered. Thanks.



More information about the Squeak-dev mailing list