JScript  

The precision is out of range

[This is preliminary documentation and subject to change]

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

See Also

toPrecision Method