0.125 Decimal To Binary

3 min read Jul 05, 2024
0.125 Decimal To Binary

0.125 Decimal to Binary Conversion

=====================================

In this article, we will learn how to convert the decimal number 0.125 to its binary equivalent.

What is Binary?


Binary is a base-2 number system that uses only two digits: 0 and 1. It is the language of computers and is used to represent data and instructions in computer systems.

Decimal to Binary Conversion


To convert a decimal number to binary, we can use the following steps:

  1. Multiply the decimal number by 2.
  2. Take the integer part as the next digit in the binary representation.
  3. Repeat steps 1 and 2 with the remaining fractional part until the fractional part becomes 0.

Converting 0.125 to Binary


Let's apply the above steps to convert 0.125 to binary:

Step 1: Multiply 0.125 by 2

0.125 × 2 = 0.25

Step 2: Take the integer part (0) as the next digit in the binary representation

Binary representation: 0.

Step 3: Repeat steps 1 and 2 with the remaining fractional part (0.25)

0.25 × 2 = 0.5

Step 4: Take the integer part (0) as the next digit in the binary representation

Binary representation: 0.00

Step 5: Repeat steps 1 and 2 with the remaining fractional part (0.5)

0.5 × 2 = 1.0

Step 6: Take the integer part (1) as the next digit in the binary representation

Binary representation: 0.001

Since the fractional part has become 0, we can stop here.

Result


The binary representation of 0.125 is 0.001.

In summary, we have successfully converted the decimal number 0.125 to its binary equivalent using the decimal to binary conversion steps.

Related Post


Featured Posts