HexToDec

The HexToDec function is used to convert a hexadecimal string to a float or integer.

Syntax

Variable = HexToDec ( string )

Remarks

The HexToDec function can be used to convert a hexadecimal string into a float or integer.

NOTE: The value of the string should be a hexadecimal value between 00000000 and FFFFFFFF.  It will be converted to a 32-bit signed integer (-2,147,483,648 to 2,147,483,647).