Base Conversion of Decimal Numbers

Convert decimal 7562.45 to octal

Integer part/8QuotientRemainder
7562/89452 (LSB)
945/81181
118/8146
14/816
1/801 (MSB)

                                    (7562)10 = (16612)8


IntegerRemainder
.45 X 8 =3(MSB).6
 .6 X 8 =4.8
 .8 X 8 =6.4
 .4 X 8 =3.2
 .2 X 8 =1.6
 .6 X 84(LSB).8

                               (.45)10 = (346314..)8

(7562.45)10 = (16612.346314..)8
  

Convert decimal 4562.25 to hexadecimal

Integer part/16QuotientRemainder
4562/162852 (LSB)
285/161713
17/1611
1/1601 (MSB)

                                    (4562)10 = (2D11)16


IntegerRemainder
.25 X 16 =4.0

                               (.25)10 = (4)16

(4652.25)10 = (2D11.4)16


Convert decimal 175.175 to binary

Integer part/2QuotientRemainder
175/2871 (LSB)
87/2481
48/2240
24/2120
12/260
6/230
3/211
1/201 (MSB)
0


                                    (175)10 = (11000011)2


IntegerRemainder
.175 X 2 =0(MSB).35
 .35 X 20.7
 .7 X 2 =1.4
 .4 X 2 =0.8
 .8 X 2 =1.6
 .6 X 21.2
 .2 X 20.4
 .4 X 20.8

                               (.175)10 = (00101100..)2

(175.175)10 = (11000011.00101100..)2

5 comments: