[mailto:[EMAIL PROTECTED]
Sent: Monday, March 05, 2007 4:35 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Number -- how good for use as an integer?
Douglas Pearson wrote:
Can someone clarify whether Number is actually just a simple wrapper
round a double precision
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
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
Douglas Pearson wrote:
Can someone clarify whether Number is actually just a simple wrapper round a
double precision floating point value?
Is this a problem with Flash? If so, any solutions?
Internally, it's a 32-bit single precision float and doesn't play well
if you need arbitrary
4 matches
Mail list logo