To convert octal to decimal we have to transform input value in base 8 to base-10 system.
The following is a conversion chart to help you compare values in base 8 with base 10:
Value in Base 8 | Base 10 |
---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
10 | 8 |
11 | 9 |
12 | 10 |
13 | 11 |
14 | 12 |
15 | 13 |
16 | 14 |
17 | 15 |