Oh well, after reading a couple of articles, I think I have confirmed my suspicion; for, as I thought, it just comes down to there being too many digits, and the floating point implementation doing some hidden weirdness. It really sucks that you can really only expect about 15 digits of true accuracy from the Number Data type.

If I am wrong let me know.


On 12/18/2010 8:55 PM, Anthony Pace wrote:
trace(Number('1000000009999992.2'));

//why does it output 1000000009999992.3
//I am assuming I am missing something pretty obvious
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to