• Home
  • HEX2OCT Function

HEX2OCT Function

The HEX2OCT function is one of the engineering functions. It is used to convert a hexadecimal number to an octal number.

Syntax

HEX2OCT(number, [places])

The HEX2OCT function has the following arguments:

ArgumentDescription
numberA hexadecimal 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 argument is not recognised as a hexadecimal number, or contains more than 10 characters, or the resulting octal number requires more digits than you specified, or the specified places number is less than or equal to 0, the function will return the #NUM! error.

How to apply the HEX2OCT function.

Examples

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

HEX2OCT Function

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

Article with the tag:
Browse all tags