Can someone clarify whether Number is actually just a simple wrapper round a
double precision floating point value?

The reason I'm asking is I'd like to know how accurately Flash can store
integers.  With AS3 there's a true "int" type added but in AS2 how reliable
is Number at storing and retrieving integer values?

The problem here, of course, is that a floating point value can't exactly
represent integers (you get a lot of 1025.00000000000001 values instead of
1025).

Is this a problem with Flash?  If so, any solutions?

Doug

_______________________________________________
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