1.2 | Network Math | |||
1.2.5 | Converting decimal numbers to 8-bit binary numbers |
There are several ways to convert decimal
numbers to binary numbers. The flowchart in Figure
describes
one method. The process is trying to figure out which values of the
power of 2 that add together to get the decimal number being converted
to a binary number. This method is one of several methods that can be
used. It is best to select one method and practice with it until it
always produces the correct answer.
Conversion exercise
Result: Decimal 168 = 10101000 For more practice, try converting decimal 255 to binary. The answer should be 11111111. The number converter activity in Figure will provide more practice.
|