DEC2HEX
converts decimal number to hexadecimal · from excel · excel: verified match · sheets: verified match
signature
DEC2HEX(number, [places])
returns: text
| argument | required |
|---|---|
| number | required |
| places | optional · defaults to 1 |
examples
formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.
fx
=DEC2HEX(100, 4) 0064 errors
error values observed from the engine — each with a call that produces it.
| error | produced by |
|---|---|
| #NUM! | =DEC2HEX(64, 1) |