Convert from Octal to Decimal
To convert a number from octal to decimal, each digit has to be multiplied by the base a power of the place of the digit starting from right. The decimal number is the sum of these factors.
Example: 0o115 => decimal
1 * 8^2 + 1 * 8^1 + 5 * 8^0 =
64 + 8 + 5 =
77 (= 0b115)