Link Search Menu Expand Document

Methods

The following methods are defined in the Number class.

Name Description
Constructor Initialize the Number object
ToExponential Returns as a string in exponential notation
ToFixed Returns as a fixed-point string
ToLocaleString Convert to a string using locale format
ToPrecision Returns a string in exponential or fixed-point notation for the specified number of digits
ToString Returns a string
ValueOf Returns the stored number