Javascript Number Objects
Number Object Properties
POSITIVE_INFINITY Property
Description
Returns a value larger than the largest number (Number.MAX_VALUE) that can be represented in JScript.
Syntax
Number.POSITIVE_INFINITY
The number argument is the Number object.
Remarks
The Number object does not have to be created before the POSITIVE_INFINITY property can be accessed.
JScript displays POSITIVE_INFINITY values as infinity. This value behaves mathematically as infinity.
NEGATIVE_INFINITY Property
Description
Returns a value more negative than the largest negative number (-Number.MAX_VALUE) representable in JScript.
Syntax
Number.NEGATIVE_INFINITY
The number argument is the Number object.
Remarks
The Number object does not have to be created before the NEGATIVE_INFINITY property can be accessed.
JScript displays NEGATIVE_INFINITY values as -infinity. This value behaves mathematically as infinity
NaN Property
Description
Returns the special value NaN indicating that an expression is not a number.
Syntax
NaN
Remarks
The NaN property (not a number) is a member of the Global object, and is made available when the scripting engine is initialized.
MIN_VALUE Property
Description
Returns the number closest to zero representable in JScript. Equal to approximately 2.22E-308.
Syntax
Number.MIN_VALUE
The number argument is the Number object.
Remarks
The Number object does not have to be created before the MIN_VALUE property can be accessed.
MAX_VALUE Property
Description
Returns the largest number representable in JScript. Equal to approximately 1.79E+308.
Syntax
Number.MAX_VALUE
The number argument is the Number object.
Remarks
The Number object does not have to be created before the MAX_VALUE property can be accessed.

