Base Conversion (6)
General Conversion Algorithm
To convert a number N from base A to base B, use
(a) the series substitution method with base B arithmetic, or
(b) the radix divide or multiply method with base A arithmetic.
To convert a number N from base A to base B, use
(a) the series substitution method with base 10 arithmetic to convert N from base A to base 10, and
(b) the radix divide or multiply method with decimal arithmetic to convert N from base 10 to base B.
Algorithm 1.2 is longer, but easier and less error prone.