Hexadecimal numbers cannot be used directly in scripting, but the $base() identifier can help you convert them into their decimal values.
- $base(N,inbase,outbase,zeropad,precision)
Converts number N from inbase to outbase. The last two parameters are optional.
$base(15,10,16) returns F
$base(F,16,10) returns 15