### Octal and Hexadecimal to Decimal Conversion

Textbook
- Vol. IV - Digital - Chapter 1 - Numeration Systems

Although the prime intent of octal and hexadecimal numeration systems is for the “shorthand” representation of binary numbers in digital electronics, we sometimes have the need to convert from either of those systems to decimal form. Of course, we could simply convert the hexadecimal or octal format to binary, then convert from binary to decimal, since we already know how to do both, but we can also convert directly.
Because