[squeak-dev] Float parsed as a Fraction bug

J. Vuletich (mail lists) juanlists at jvuletich.org
Fri Aug 8 22:55:32 UTC 2014


Wow, I didn't know this was possible. Thanks Nicolas!

This gem is now part of Cuis (where exponents up to 36 work ok).

Cheers,
Juan Vuletich

Quoting Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>:

> Ah, that reminds me that I already played with this "feature".
> Here is a convenience method attached
>
>
>
>
> 2014-08-08 19:34 GMT+02:00 Stéphane Rollandin <lecteur at zogotounga.net>:
>
>> The only drawback I found is that some fractions become a bit more
>>> "complex" when printed, e.g. 3/4 => 75e-2
>>>
>>
>> In my view, this is a *big* drawback. When I print 3/4, I want to see 3/4
>> printed.
>>
>> Stef
>>
>>
>>





More information about the Squeak-dev mailing list