By the end of this lesson, you will be able to convert a decimal number to other number systems namely, binary, hexadecimal and octal systems.

Estimated duration: 30 min


Lesson 1 of 5: Converting Decimal to Binary

Conversion from decimal to binary is done  using the following steps:

  1. Division of the integer value of the decimal number by 2, and
  2. Multiplication of the fractional value of the decimal number by 2.

The remainders recorded after each division is taken as the binary equivalent to the decimal number.   Let's view an example in the video.

https://youtu.be/x5OpxRq_okQ?t=25


Let's review what you have learn from the video.

Converting Decimal to Binary

The Conversion from decimal to binary is done  using the following steps:

  1. Division of the integer value of the decimal number by 2, and
  2. Multiplication of the fractional value of the decimal number by 2.

Example 1 Convert decimal 169.9 to binary

Example 1.png

As shown above, the integer value on the left is divided by 2 successively, while the fractional value on the right is multiplied by 2 successively.

The dots in between the 1 and 0 indicates that the binary numbers in between (inclusive of the numbers above the dots) are repeating.


Lesson 2 of 5: Converting Decimal to Octal