• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

Number

Constructor

new Number(value)
Number(value)

With the new operator, the Number( ) constructor converts its argument to a numeric value and returns a new Number object wrapped around that value. Without new, Number( ) is a conversion function that converts its argument to a number and returns that value.

Constants

These constants are properties of Number itself, not of individual Number objects.

Number.MAX_VALUE

The largest representable number. Approximately 1.79E+308.

Number.MIN_VALUE

The smallest representable positive number. Approximately 5E-324.

Number.NaN

Not-a-number value. Same as the global NaN.

Number.NEGATIVE_INFINITY

Negative infinite value.

Number.POSITIVE_INFINITY

PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint