If someone wants to tackle this, I'm pretty sure we'd distribute it on Labs if you wanted to make it available to the AS3 community.

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of Spike
Sent: Tuesday, February 21, 2006 2:56 PM
To: [email protected]
Subject: Re: [flexcoders] Handling VERY large numbers in Flex

 

It might be possible to port the Java BigInteger class to AS3. The Java source code is available, so it ought to be possible to see fairly quickly whether it could work or not.

Spike

On 2/21/06, Niklas Richardson <[EMAIL PROTECTED]> wrote:

Crap!

I thought as much after reading something about ColdFusion and large integers and having to use the Java BigInt class.

Oh well.  I wonder whether 15 significant decimal digits will be enough! ;) haha!

Cheers

Niklas

 

On 2/21/06, Gordon Smith < [EMAIL PROTECTED]> wrote:

You have a problem... a Number can't store more than 15 or 16 significant decimal digits. If you need more, you're going to have to write or acquire the equivalent of a BigInteger class, which would probably use arbitrarily long Strings to store arbitrarily large integers.

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of Niklas Richardson
Sent: Tuesday, February 21, 2006 10:09 AM
To: Flex Coders
Subject: [flexcoders] Handling VERY large numbers in Flex

 

Hi all,

We're building an app that requires taking as input very large integers (e.g. 22222222222222222222, that's 20 '2's).

However, Flash is converting that to exponential notation (2.22222222222222e+19).

However, we don't want it to go into exponential notation.

Has anyone else had to deal with very large integers in Flash?  If so, how have you dealt with it from a UI prospective and also from a data validation prospective.

Do you treat them as strings, and then convert them to Numbers before validation, etc...?

Any suggestions would be grately received.

Cheers

Niklas


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



SPONSORED LINKS

Web site design development

Computer software development

Software design and development

Macromedia flex

Software development best practice

 

 


YAHOO! GROUPS LINKS

 

 






--
Niklas Richardson
Prismix Ltd

UK based Flex and ColdFusion Specialists



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



SPONSORED LINKS

Web site design development

Computer software development

Software design and development

Macromedia flex

Software development best practice

 

 


YAHOO! GROUPS LINKS

 

 





--
--------------------------------------------
Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to