ADVERTISEMENTS:

Following steps have to be followed to convert a decimal fraction to binary.

**Step-1:** Multiply the decimal fraction with 2. We shall get either 0 or 1 as the integral part.

Example:

ADVERTISEMENTS:

0-625_{decimal}x 2 = 1.250

0-125_{dec1mal}x 2 = 0.2 50

In the first case the integral part is 1 and in the second case it is 0.

**Step-2:** Drop the integral part as the **first digit after fractional point** in binary form and multiply 2 with the rest of the fractional part.

ADVERTISEMENTS:

Example:

0.250 x 2 = 0.500

(drop 0 from above fraction)

Continue the Step-1 and 2 until we reach. 000 in the fractional part. Then the integral parts from top to bottom are arranged from left to right after the fractional point to represent the binary fraction.

ADVERTISEMENTS:

Example:

0.625_{decimal }x 2 = 1.250

0.250_{decimal }x 2 = 0.500

0.500_{decimal }x 2 = 1.000

ADVERTISEMENTS:

Thus

0.625_{ decimal }= .101_{binary}