Re: [flexcoders] Handling VERY large numbers in Flex

2006-02-22 Thread Niklas Richardson
Yeah, I just found that myself.I think I'll give it a miss!Perhaps I'll have to come up with another solution! ;)Hahahaha! :)On 2/22/06, Paul Hastings <[EMAIL PROTECTED]> wrote: Niklas Richardson wrote:> Unfortunately we're using Flex 1.5 and thus AS2.>> I'll see if we can create some sort of i

Re: [flexcoders] Handling VERY large numbers in Flex

2006-02-22 Thread Paul Hastings
Niklas Richardson wrote: > Unfortunately we're using Flex 1.5 and thus AS2. > > I'll see if we can create some sort of icu4j clone in AS2. core java's code (well GNU classpath) version is 500++ lines, icu4j is 4400++ lines (loads of comments). icu4j's NumberFormat (which can handle BigDecimal/B

Re: [flexcoders] Handling VERY large numbers in Flex

2006-02-22 Thread Niklas Richardson
Unfortunately we're using Flex 1.5 and thus AS2.I'll see if we can create some sort of icu4j clone in AS2.CheersNiklasOn 2/22/06, Paul Hastings <[EMAIL PROTECTED]> wrote: > It might be possible to port the Java BigInteger class to AS3. The Java> source code is available, so it ought to be possi

Re: [flexcoders] Handling VERY large numbers in Flex

2006-02-21 Thread Paul Hastings
> 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. also don't forget the NumberFormat class. core java actually can't handle BigDecimal/BigInteger classes. you mig

RE: [flexcoders] Handling VERY large numbers in Flex

2006-02-21 Thread Gordon Smith
06 2:56 PM To: flexcoders@yahoogroups.com 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

Re: [flexcoders] Handling VERY large numbers in Flex

2006-02-21 Thread Spike
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 C

Re: [flexcoders] Handling VERY large numbers in Flex

2006-02-21 Thread Niklas Richardson
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! CheersNiklasOn 2/21/06, Gordon Smith <[EMAIL PROTECTED]> wrote: You have a

RE: [flexcoders] Handling VERY large numbers in Flex

2006-02-21 Thread Gordon Smith
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