The number of fractional digits is out of range

You attempted to pass an invalid argument to the function Number.prototype.toExponential. The argument to the function toExponential() must be between 0 and 20 (inclusive).

To correct this error

Ensure the argument to toExponential() is not too large or too small.

See Also

toExponential Method