JScript  

Number expected

[This is preliminary documentation and subject to change]

You attempted to invoke the Number.prototype.toString or Number.prototype.valueOf method on an object of a type other than Number. The object of this type of invocation must be of type Number.

To correct this error

See Also

Number Object | number Property