August 1999
Intermediate to advanced
1488 pages
72h 53m
English
var variable = new Number(value)
The Number object represents numeric value types. You can create a Number object by specifying a value in the parameter for the number constructor. Table 6.29 shows the different methods and properties of the Number object.
| Property/Method | Description |
|---|---|
| MAX_VALUE | Specifies the largest value a number can have. |
| MIN_VALUE | Specifies the smallest value a number can have without being equal to 0. |
| NaN | Stands for Not a Number. Represents a value that is not equal to any numeric value. |
| NEGATIVE_INFINITY | A special value that represents a negative infinity value. |
| POSITIVE_INFINITY ... |
Read now
Unlock full access