Converts a hexadecimal argument string into an integer.
See also: inttohex
hextoint(value)
hextoint("A1")
Returns 161.