Converts an octal number to a decimal number.
Syntaxe
OCT2DEC(number)Arguments
numberobligatoire
The octal number you want to convert, provided as a string or number.
The OCT2DEC function takes an octal string and returns its decimal equivalent. It is useful for converting base-8 numerical data into standard base-10 format for calculations.
=OCT2DEC("17")→15Converts the octal value 17 to its decimal equivalent, which is 15.
=OCT2DEC(54)→44Converts the octal value 54 to its decimal equivalent, which is 44.
Select the cell
Click on the cell where you want the decimal result to appear.
Enter the formula
Type =OCT2DEC( followed by the octal number or cell reference, then close the parenthesis.
Press Enter
Press the Enter key to calculate and display the decimal value.
The number cannot contain more than 10 octal characters, and the most significant bit is the sign bit.
The function will return a #NUM! error if the input contains digits other than 0-7.