Hi, thanks all, so lemme get this straight, there is no way im gonna be able to provide a very large 64bit integer to a webservice. That's not good:). Ok well maybe i can get the developer to return/accept 2 32bit parts then. *twiddling thumbs*
Thanks again! JC On 11/6/06, Mike Keesey <[EMAIL PROTECTED]> wrote:
AS3.0 has Number.toFixed(): http://livedocs.macromedia.com/flex/2/langref/Number.html#toFixed() Of course, that probably doesn't help you.... ― Mike Keesey > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Hans Wichman > Sent: Monday, November 06, 2006 9:42 AM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] preventing scientific notation > > Hi Chris, > thanks for your reply. > According to the manual flash should be able to handle numbers up to > 1.79769313486232e+308? > Mine is 1e+21 so it seems i should have a little way to go before i max > out:). > > Threading the number as a string isnt possible, since the webservice > interface requires Int64. > If i cast the number i get from the service to a string, my string > reads.... > "1e+21" > > Any ideas? > JC > > > On 11/6/06, Chris Benjaminsen <[EMAIL PROTECTED]> wrote: > > > > Hi Hans > > > > The numbers you are trying to store are way to large for Flash to handle > > as a number. > > If you however just thread the numbers as strings it should work > > perfectly. > > > > /Chris > > > > Hans Wichman wrote: > > > Hi list, > > > > > > i need to talk to webservices which pass me back very large db id's, > > > which > > > im using again to request more info. > > > However when i do (for example): > > > var b:Number = 1000000000000000000000; > > > trace (b); > > > it prints 1e+21 > > > > > > Now when I use this value as an argument to this webservice it seems > to > > > fail. > > > When I use a tool like wsstudio2 and copy and paste the long version, > it > > > works fine. > > > > > > Any ideas on how to fix this? > > > greetz > > > JC > > > _______________________________________________ > > > [email protected] > > > 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 > > > > _______________________________________________ > > [email protected] > > 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 > > > _______________________________________________ > [email protected] > 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 _______________________________________________ [email protected] 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
_______________________________________________ [email protected] 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

