|
The Number object is an object representation of the number data type and placeholder for numeric constants.
Converts a Number object or variable to a string using the specified radix. |
The largest number that can be represented in JScript. | |
The number closest to zero that can be represented in JScript. | |
A special value that indicates an expression returned a value that was not a number. | |
A value larger than the largest negative number that can be represented in JScript. | |
A value larger than the largest positive number that can be represented in JScript. |
new Number( value )
value
is the sought numerical value for the object.
JScript creates Number objects as required from numerical values. It is rarely necessary to create Number objects explicitly.
The primary purposes for the Number object are to collect its properties into one object, and to allow numbers to be converted into strings via the toString method.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.