Skip to main content

OCT2BIN function

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

Syntax​

OCT2BIN(number, [places])

The OCT2BIN 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 binary 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 OCT2BIN function.

Examples​

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

OCT2BIN Function