• Home
  • OCT2HEX Function

OCT2HEX Function

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

Syntax

OCT2HEX(number, [places])

The OCT2HEX function has the following arguments:

ArgumentDescription
numberAn octal number.
placesThe number of digits to display. If omitted, the function will use the minimum number.
Notes

If the argument is not recognised as an octal number, or contains more than 10 characters, or the resulting hexadecimal 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 OCT2HEX function.

Examples

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

OCT2HEX Function

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

Article with the tag:
Browse all tags