Function fromHex( hexVal )

Description:
Converts a string representing a hexadecimal number to its integer value.
Parameters:
hexVal (String)
hexadecimal representation of value
Return Value (integer):
integer value represented by hexVal
Example:
fromHex("2a") = 42
Signature:
int fromHex(String)