Syntax
=BIN2OCT(number, [places])Arguments
| Argument | Required | Description |
|---|---|---|
number | Required | The binary number (up to 10 characters) |
places | Optional | The number of characters to use (left out: as few as needed) |
How to use BIN2OCT
BIN2OCT takes 1 required argument and 1 optional argument. Type =BIN2OCT( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=BIN2OCT(1001, 3)Result =BIN2OCT(1100100)Result =BIN2OCT(1111111111)Result Related engineering functions
- BESSELKReturns the modified Bessel function Kn(x).
- BESSELYReturns the Bessel function Yn(x), also called the Weber or Neumann function.
- BIN2DECConverts a binary number to decimal.
- BIN2HEXConverts a binary number to hexadecimal.
- BITANDReturns the bitwise AND of two numbers.
- BITLSHIFTReturns a number shifted left by a number of bits (multiplied by a power of 2).
- BITORReturns the bitwise OR of two numbers.
- BITRSHIFTReturns a number shifted right by a number of bits (divided by a power of 2, rounded down).
- BITXORReturns the bitwise exclusive OR of two numbers.