JScript  

The precision is out of range

You attempted to pass an invalid argument to the function Number.prototype.toPrecision. The argument to toPrecision must between 1 and 21 (inclusive).

To correct this error

Ensure the argument to toPrecision is not too large or too small.

See Also

toPrecision Method