|This method is obsolete. See the Remarks section below.|
Utilities.StrToInt method converts the string Str, which represents an integer-type number in either decimal or hexadecimal notation, into a number.
The method is applied to the following object:
The method has the following parameter:
Specifies the string to be converted into a number. If the source string does not represent a valid number,
StrToInt raises an exception.
The integer value to which the specified string has been converted.
StrToInt routine correctly recognizes hexadecimal numbers if they are prefixed with
0x. To recognize a hexadecimal number with
&H prefix that is adapted in VBScript, you should replace the prefix with
This method is obsolete. It is supported for backward compatibility only. To convert a string to an integer number, use the