Hey guys,
The trace reports the math accurately, but is dropping the number down from 16 significant digits to 15. Not sure how you would change that to report 16 if you truly needed it and I didn't find what level of precision an AS will keep for you. (Could look up "double-precision IEEE-754" if needed)
"Usage
Number.MAX_VALUE:Number
Description
Property; the largest representable number (double-precision IEEE-754). This number is approximately 1.79e+308.
Example
The following ActionScript writes the largest and smallest representable numbers to the log file.
trace("Number.MIN_VALUE = "+Number.MIN_VALUE);
trace("Number.MAX_VALUE = "+Number.MAX_VALUE);
This code logs the following values:
Number.MIN_VALUE = 4.94065645841247e-324 Number.MAX_VALUE = 1.79769313486232e+308"
;)
-Ben
On 12/16/05, Scott Langeberg <[EMAIL PROTECTED]> wrote:
Should be right, if:
9.095531709556422E7 = (9.095531709556422 * 10^7) = 90955317.0955642
which should be correct!
Scott
On 12/16/05, Martin Wood < [EMAIL PROTECTED]> wrote:i just did a quick
var x:Number = 9.095531709556422E7;
trace(x);
and it said
90955317.0955642
is that right? my brain doesnt remember scientific notation.
(this was using f8, not f8.5)
martin
Clint Modien wrote:
> Ran a quick search didn't find anything.
>
> Will actionscript handle a number with scientific notation?
>
> example: 9.095531709556422E7
>
> Thanks in advance.
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Ben Lucyk
(403) 809-3514
[EMAIL PROTECTED]
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

