Converts an octal number to binary.
Hàm này hoạt động trong Google Sheets giống như trong Excel — cùng cú pháp và đối số.
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)Kết quả: 1010
Converts the octal number 12 to the binary 1010.
=OCT2BIN(5, 4)Kết quả: 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.