toExponential(digits
:
Number)
:
String
Converts this Number to a String using exponential notation with the specified number of digits after the decimal place.
toFixed()
:
String
Converts a Number to a String that contains a no fractional part.
toFixed(digits
:
Number)
:
String
Converts a Number to a String that contains a specified number of digits after the decimal place.
toLocaleString()
:
String
Converts this Number to a String using local number formatting conventions.
toPrecision(precision
:
Number)
:
String
Converts a Number to a String using the specified number of signigicant digits.
toString(radix
:
Number)
:
String
Converts the number into a string using the specified radix (base).
toExponential
Converts this Number to a String using exponential notation.
Returns:
a String using exponential notation.
toExponential
Converts this Number to a String using exponential notation with
the specified number of digits after the decimal place.
Parameters:
digits
-
the number of digits after the decimal place.
Returns:
a String using exponential notation with the specified number of digits after the decimal place.
toFixed
Converts a Number to a String that contains a no fractional part.
Returns:
a String representation of the number
toFixed
Converts a Number to a String that contains a specified number
of digits after the decimal place.
Parameters:
digits
-
the number of digits after the decimal place.
Returns:
a String that contains a specified number of digits after the decimal place.
toLocaleString
Converts this Number to a String using local number
formatting conventions.
Returns:
a String using local number formatting conventions.
toPrecision
Converts a Number to a String using the specified number
of signigicant digits. Uses exponential or fixed point
notation depending on the size of the number and the nimber of
significant digits specified.
Parameters:
precision
-
the precision to use when converting the Number to a String.
Returns:
a String using the specified number of signigicant digits.
toString
A String representation of this Number.
Returns:
a String representation of this Number.
toString
Converts the number into a string using the specified radix (base).
Parameters:
radix
-
the radix to use.
Returns:
a String representation of this Number.