I noticed that in Squeak and earlier version of Pharo doing
'.2e2' asNumber
would return 20.0
or '.2' asNumber
would return 0.2

but currently in Pharo those return 0, without error, comment, or  
other hand waving.
Good thing I have Sunits...

So is this a bug or feature?

Hint obviously in the Fractions calculator people are lazy and enter . 
2e2 or .2 without the leading zero...

--
= 
= 
= 
========================================================================
John M. McIntosh <[email protected]>   Twitter:   
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================





_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to