DEC2HEX
The DEC2HEX function converts a decimal value in its hexadecimal format.
Syntax 1
Syntax 2
Arguments
• arg-1 must be a numeric data item or literal.
Result
The function returns a string that is the hexadecimal representation of arg-1.
Examples
Example - Display the hex representation of the number 15.
display function dec2hex(15). |