October 2018
Beginner to intermediate
436 pages
9h 36m
English
We have already converted hexadecimal and binary numbers into decimal, or base-10. Converting base-10 into other bases simply requires division of the base being converted into, while taking note of the remainders.
The following is an example for base-2
87 to base-287 divided by 2 is 43 remainder 1.43 divided by 2 is 21 remainder 1.21 divided by 2 is 10 remainder 1.10 divided by 2 is 5 remainder 0.5 divided by 2 is 2 remainder 1.2 divided by 2 is 1 remainder 0.1 divided by 2 is 0 remainder 1.and nothing more to divide since we're down to 0.base-2 has digits 0 and 1.Writing the remainders backward results to 1010111b.
The following is an example for base-16:
34512 to base-1634512 divided by 16 is 2157 remainder 0. ...
Read now
Unlock full access