http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_13989

I think you may have to put some Math.round(); around some of your values
just in case.




On 3/5/07, Douglas Pearson <[EMAIL PROTECTED]> wrote:

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

_______________________________________________
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