Converts an octal number to binary.
Cette fonction fonctionne de la même façon dans Google Sheets que dans Excel — même syntaxe et mêmes arguments.
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)Résultat : 1010
Converts the octal number 12 to the binary 1010.
=OCT2BIN(5, 4)Résultat : 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.