Specified string cannot be converted into a number.

#6084   Run-time catchable error

Specified string cannot be converted into a number.

Additional Information

For string "X".

Explanation

Strings that are converted to numbers may start with a minus sign ('-'), and must be followed by at least one digit. No other characters are allowed, including spaces.