DEC2HEX function
DEC2HEX(Number,
DigitCount?) DEC2HEX(Number;
DigitCount?)
Number
Number or { Number }
A decimal number.
DigitCount
Number or { Number } (optional)
The number of digits to return. If omitted, the minimum number of digits necessary to accurately represent the number is used.
Returns
Text or { Text }
A hexadecimal number.
Converts a decimal number to a hexadecimal number. Also consider using the more general function BASE. Perform the reverse conversion using HEX2DEC.