BIN2OCT

BIN2OCT octal representation of the binary number x

Synopsis

BIN2OCT(x,places)

Arguments

x: a binary number, either as a string or as a number involving only the digits 0 and 1

places: number of digits

Description

If places is given, BIN2OCT pads the result with zeros to achieve exactly places digits. If this is not possible, BIN2OCT returns #NUM!

Microsoft Excel Compatibility

This function is Excel compatible.

See also

OCT2BIN, BIN2DEC, BIN2HEX.