HEX2OCT function

HEX2OCT converts a hexadecimal number to an octal number.

Syntax

HEX2OCT(number, [places])

Number is a hexadecimal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.

Places means the number of places to be output.

Example

=HEX2OCT(64,4) returns 0144.