03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MAX_VALUE (Number.MAX_VALUE property)<br />

public static MAX_VALUE : Number<br />

The largest representable number (double-precision IEEE-754). This number is<br />

approximately 1.79e+308.<br />

Example<br />

The following ActionScript displays the largest <strong>and</strong> smallest representable numbers to the<br />

Output panel.<br />

trace("Number.MIN_VALUE = "+Number.MIN_VALUE);<br />

trace("Number.MAX_VALUE = "+Number.MAX_VALUE);<br />

This code displays the following values:<br />

Number.MIN_VALUE = 4.94065645841247e-324<br />

Number.MAX_VALUE = 1.79769313486232e+308<br />

MIN_VALUE (Number.MIN_VALUE property)<br />

public static MIN_VALUE : Number<br />

The smallest representable number (double-precision IEEE-754). This number is<br />

approximately 5e-324.<br />

Example<br />

The following ActionScript displays the largest <strong>and</strong> smallest representable numbers to the<br />

Output panel to the log file.<br />

trace("Number.MIN_VALUE = "+Number.MIN_VALUE);<br />

trace("Number.MAX_VALUE = "+Number.MAX_VALUE);<br />

This code displays the following values:<br />

Number.MIN_VALUE = 4.94065645841247e-324<br />

Number.MAX_VALUE = 1.79769313486232e+308<br />

NaN (Number.NaN property)<br />

public static NaN : Number<br />

The IEEE-754 value representing Not A Number (NaN).<br />

See also<br />

isNaN function<br />

516 ActionScript classes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!