Returns a string representing a Number object in exponential notation with one digit before the decimal point, rounded to fractionDigits digits after the decimal point.
Returns a string representing a Number object in exponential notation with one digit before the decimal point, rounded to fractionDigits digits after the decimal point. If the fractionDigits argument is omitted, the number of digits after the decimal point defaults to the number of digits necessary to represent the value uniquely.
If a number has more digits that requested by the fractionDigits parameter, the number is rounded to the nearest number represented by fractionDigits digits. See the discussion of rounding in the description of the toFixed() method, which also applies to toExponential().
MDN
Returns a string representation of number that does not use exponential notation and has exactly digits digits after the decimal place.
Returns a string representation of number that does not use exponential notation and has exactly digits digits after the decimal place. The number is rounded if necessary, and the fractional part is padded with zeros if necessary so that it has the specified length. If number is greater than 1e+21, this method simply calls Number.prototype.toString() and returns a string in exponential notation.
MDN
Returns a string representing a Number object in fixed-point or exponential notation rounded to precision significant digits.
Returns a string representing a Number object in fixed-point or exponential notation rounded to precision significant digits. See the discussion of rounding in the description of the Number.prototype.toFixed() method, which also applies to toPrecision.
If the precision argument is omitted, behaves as Number.prototype.toString(). If it is a non-integer value, it is rounded to the nearest integer.
MDN
Operations on JavaScript numbers.