Syntax
DEC2HEX(<integer>)
Description
Hexadecimal numbers are base 16 and are represented by the numbers 0-9 and the letters a-f. DEC2HEX converts a decimal number to a hexadecimal number. Only integers can be converted and are displayed as strings.
Examples
Column1 | DEC2HEX returns |
---|
44 | 2c |
75 | 4b |
95 | 5f |
55 | 37 |