• Home
  • DEC2HEX Function

DEC2HEX Function

The DEC2HEX function is one of the engineering functions. It is used to convert a decimal number into a hexadecimal number.

Syntax

DEC2HEX(number, [places])

The DEC2HEX function has the following arguments:

ArgumentDescription
numberA decimal number entered manually or included into the cell you make reference to.
placesThe number of digits to display. If omitted, the function will use the minimum number.
Notes

If the specified places number is less than or equal to 0, the function will return the #NUM! error.

How to apply the DEC2HEX function.

Examples

The figure below displays the result returned by the DEC2HEX function.

DEC2HEX Function

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags