[squeak-dev] Bug in Number parsing?
nicolas.cellier.aka.nice at gmail.com
Thu Aug 11 23:22:49 UTC 2011
Yes, in Squeak this behavior is obtained with the ExtendedNumberParser.
You can read these floats for example:
Though, in Smalltalk source code, the SqNumberParser is used and you can't.
2011/8/12 Frank Shearar <frank.shearar at gmail.com>:
> While playing around, I've found that Number readFrom: '1.' returns
> 1.0 ... I'd expected a 1.
> Is this expected behaviour?
More information about the Squeak-dev