MAX_VALUE (Number.MAX_VALUE property)

public static MAX_VALUE : Number

The largest representable number (double-precision IEEE-754). This number is approximately 1.79e+308.

Example

The following ActionScript displays the largest and smallest representable numbers to the Output panel.

trace("Number.MIN_VALUE = "+Number.MIN_VALUE);
trace("Number.MAX_VALUE = "+Number.MAX_VALUE);

This code displays the following values:

Number.MIN_VALUE = 4.94065645841247e-324
Number.MAX_VALUE = 1.79769313486232e+308

Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00005377.html