[Glass] Floats problem with SIXX between Pharo and GemStone

Mariano Martinez Peck marianopeck at gmail.com
Mon Mar 3 07:14:18 PST 2014

On Wed, Feb 26, 2014 at 7:25 PM, Martin McClure <
martin.mcclure at gemtalksystems.com> 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:

   "current comment"

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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140303/ddeeb8c8/attachment.html>

More information about the Glass mailing list