Hi Hans

The numbers you are trying to store are way to large for Flash to handle as a number.
If you however just thread the numbers as strings it should work perfectly.

/Chris

Hans Wichman wrote:
Hi list,

i need to talk to webservices which pass me back very large db id's, which
im using again to request more info.
However when i do (for example):
var b:Number = 1000000000000000000000;
trace (b);
it prints 1e+21

Now when I use this value as an argument to this webservice it seems to
fail.
When I use a tool like wsstudio2 and copy and paste the long version, it
works fine.

Any ideas on how to fix this?
greetz
JC
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to