Min_Value (Number.min_Value Property); Nan (Number.nan Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

This code displays the following values:
Number.MIN_VALUE = 4.94065645841247e-324
Number.MAX_VALUE = 1.79769313486232e+308

MIN_VALUE (Number.MIN_VALUE property)

public static MIN_VALUE : Number
The smallest representable number (double-precision IEEE-754). This number is
approximately 5e-324.
Availability: ActionScript 1.0; Flash Player 5
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

NaN (Number.NaN property)

public static NaN : Number
The IEEE-754 value representing Not A Number (
).
NaN
Availability: ActionScript 1.0; Flash Player 5
See also
isNaN function
NEGATIVE_INFINITY
(Number.NEGATIVE_INFINITY property)
public static NEGATIVE_INFINITY : Number
Specifies the IEEE-754 value representing negative infinity. The value of this property is the
same as that of the constant
.
-Infinity
Negative infinity is a special numeric value that is returned when a mathematical operation or
function returns a negative value larger than can be represented.
Availability: ActionScript 1.0; Flash Player 5
Number
987

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF