Hexadecimal values
There are a number of functions for handling hexadecimal values.
number-to-string()
convert2BigInt()
text to hexdata()
hexdata to text()
convert hex to base64()
Conversion from decimal to hexadecimal and vice versa
To convert a decimal value into a hexadecimal value, you can use the function number-to-string().
To convert a hexadecimal value into a decimal value, you can use the function convert2BigInt().
Example:
Import the following profile: Profile-decimal_to_hexadecimal_to_decimal.pak
There, a decimal value is first converted into a hexadecimal value and then a hexadecimal value is converted into a decimal value.