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:

0-625decimalx 2 = 1.250

ADVERTISEMENTS:

0-125dec1malx 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.

Example:

ADVERTISEMENTS:

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.

Example:

ADVERTISEMENTS:

0.625decimal x 2 = 1.250

0.250decimal x 2 = 0.500

0.500decimal x 2 = 1.000

Thus

ADVERTISEMENTS:

0.625 decimal = .101binary