Articles with the tag:
Close
Changelog
Close
Articles with the tag:
Close

DEC2HEX Function

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

The DEC2HEX function syntax is:

DEC2HEX(number [, num-hex-digits])

where

number is a decimal number entered manually or included into the cell you make reference to.

num-hex-digits is the number of digits to display. If omitted, the function will use the minimum number.

Note: if the specified num-hex-digits number is less than or equal to 0, the function will return the #NUM! error.

To apply the DEC2HEX function,

  1. select the cell where you wish to display the result,
  2. click the Insert function Insert function icon icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the Function icon icon situated at the formula bar,
  3. select the Engineering function group from the list,
  4. click the DEC2HEX function,
  5. enter the required arguments separating them by commas,
  6. press the Enter button.

The result will be displayed in the selected cell.

DEC2HEX Function

Return to previous page
Try now for free Try and make your decision No need to install anything
to see all the features in action