Manuals/calci/DEC2HEX
Jump to navigation
Jump to search
DEC2HEX(number, places)
- Where 'number' is the decimal integer to be converted and
- 'places' is the number of characters to be used to display the output.
DEC2HEX() converts a decimal number to its hexadecimal equivalent.
Description
DEC2HEX(number, places)
- If the number is nonnumeric or negative, Calci returns an #ERROR value.
- If 'places' is non-numeric or negative, Calci returns an #ERROR value.
For Example,
DEC2HEX(50, 5) returns 32
DEC2HEX(35) returns 23
Examples
Function | HEX Output |
DEC2HEX(10) | |
DEC2HEX(10,4) | |
DEC2HEX(100,8) | |
DEC2HEX(-56) | |
DEC2HEX(-512) |