Base Conversion of Decimal Fraction Part

Decimal to Binary Conversion 

Base 10 -> Base 2

(.234375)10 = (?)2


IntegerRemainder
.234375 X 2 =0 (MSB).46875
 .46875 X 2 =0.9375
  .9375 X 2 =1.875
   .875 X 2 =1.75
    .75 X 2 =1.5
     .5 X 2 =1 (LSB)0

                                                                                               Answer: (001111)2

Decimal to Octal Conversion

Base 10 -> Base 8

(.513)10 = (?)8


IntegerRemainder
   .513 X 8 =4(MSB).104
   .104 X 8 =0.832
   .832 X 8 =6.656
   .656 X 8 =5.248
   .248 X 8 =1.984
   .984 X 87(LSB).872

                                                                              Answer: (406517....)8

Decimal to Hexadecimal Conversion

Base 10 -> Base 16

(.257)10 = (?)16


IntegerRemainder
   .257 X 16 =4(MSB).112
   .112 X 16 =1.792
   .792 X 16 =12 -> C.672
   .656 X 8 =10 -> A(LSB).752

                                                                                             Answer: (41CA...)16

To convert a decimal fraction part to any base-r system, multiplication is done by r.

No comments:

Post a Comment