FROMHEX: Hexadecimal to decimal conversion function

syntax: FROMHEX(x)

Returns the equivalent decimal value from the given hexadecimal value x