Hexadecimal Values

Lobster_data provides a number of functions for handling hexadecimal values.


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(number a,(b,c,d,e,[f])).

To convert a hexadecimal value into a decimal value, you can use the function convert2BigInt(a[, b]).


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.