Can we get this into trunk please? Ie,
SqNumberPasrser>>exponentLetters "current comment" ^'edqEDQ'
Best -Tobias
Begin forwarded message:
From: Nicolas Cellier nicolas.cellier.aka.nice@gmail.com Subject: Re: [Pharo-dev] Floats problem with SIXX between Pharo and GemStone Date: 26. Februar 2014 23:14:10 MEZ To: Pharo Development List pharo-dev@lists.pharo.org Reply-To: Pharo Development List pharo-dev@lists.pharo.org
2014-02-26 23:08 GMT+01:00 Nicolas Cellier nicolas.cellier.aka.nice@gmail.com: That's exactly for this kind of reasons that I developped an ExtendedNumberParser connected to Number class>>readFrom:, to allow a variety of formats used in the rest of the world.
It would have been easy to allow upper letter exponents in this parser, but the class was considered superfluous and removed from Pharo 3.0...
super easy is just redefine:
ExtendedNumberParser>>exponentLetters ^'edqEDQ'
and then Float readFrom: '1.0000000000000000E-02' works as expected, that is in Squeak at least...