Optional
fractionDigits: numberNumber of digits after the decimal point. Must be in the range 0 - 20, inclusive.
Returns a string representing a number in fixed-point notation.
Optional
fractionDigits: numberNumber of digits after the decimal point. Must be in the range 0 - 20, inclusive.
Converts a number to a string by using the current or specified locale.
Optional
locales: string | string[]A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
Optional
options: NumberFormatOptionsAn object that contains one or more properties that specify comparison options.
Converts a number to a string by using the current or specified locale.
Optional
locales: LocalesArgumentA locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
Optional
options: NumberFormatOptionsAn object that contains one or more properties that specify comparison options.
Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.
Optional
precision: numberNumber of significant digits. Must be in the range 1 - 21, inclusive.
Returns a string representation of an object.
Optional
radix: numberSpecifies a radix for converting numeric values to strings. This value is only used for numbers.
Returns the primitive value of the specified object.
Generated using TypeDoc
Returns a string containing a number represented in exponential notation.