Converts an octal number to binary.
Deze functie werkt in Google Spreadsheets hetzelfde als in Excel — dezelfde syntaxis en argumenten.
OCT2BIN(number, [places])The OCT2BIN function converts an octal number into its binary representation. If the optional places argument is provided, the function will pad the result with leading zeros to match the specified length.
=OCT2BIN(12)Resultaat: 1010
Converts the octal number 12 to the binary 1010.
=OCT2BIN(5, 4)Resultaat: 0101
Converts 5 to binary and pads it to 4 digits.
The octal number cannot exceed 10 characters in length.
The function returns a #NUM! error.