On Wed, Feb 26, 2014 at 7:25 PM, Martin McClure <
[email protected]> wrote:

> On 02/26/2014 01:38 PM, Mariano Martinez Peck wrote:
> >
> > So, of course " Float readFrom: '1.0000000000000000E-02'  "  ->  1.0
>
> This is because Pharo only accepts lower-case letters for exponent ($e
> $d $q). So if you replace E with e Pharo will parse it as you wish.
>


Thanks all.  I took this solution as the simples workaround. I overriden
this method in my Pharo image:

SqNumberPasrser>>exponentLetters
   "current comment"
   ^'edqEDQ'


Now...a similar question is....is there a way to move Floats between Pharo
and GemStone with SIXX *without *loosing decimals (no rounded)?
Sixx in Pharo exports Floats doing #printString. So for example:

5645.0000000000000000000000000786786 printString
-> '5645.0'

I loose info. So what is the alternative?

Thanks,


-- 
Mariano
http://marianopeck.wordpress.com

Reply via email to