DEC2HEX
The DEC2HEX function converts a decimal value in its hexadecimal format.
Syntax 1
function dec2hex (arg-1)
Syntax 2
$dec2hex (arg-1)
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).