BIN2OCT(number,places)
- Where 'number' is a binary number to be converted and
- 'places' is the number of characters to be used to display the output.
BIN2OCT converts a binary number to its octal equivalent.
Description
BIN2OCT(number,places)
- 'number' must be a binary number.
- Calci returns an #ERROR message if 'number' contains more than 10 characters (10 bits).
- If 'number' is negative, BIN2HEX shows an #ERROR message.
- If 'places' is not an integer, it is truncated.
- Calci returns an #ERROR message if 'places' are nonnumeric or negative.
BIN2OCT(1100100) returns 144
Examples
Formula | Hex Output |
BIN2HEX(100) | 4 |
BIN2HEX(110011,4) | 0033 |
BIN2HEX(11001100,6) | 0000CC |
BIN2HEX(11110000) | F0 |