let\'s translate to decimal like this:
2∙102+4∙101+5∙100+2∙10-1+0∙10-2 = 2∙100+4∙10+5∙1+2∙0.1+0∙0.01 = 200+40+5+0.2+0 = 245.210
got It: 245.2010 =245.210
Translate the number 245.210 в binary like this:
the Integer part of the number is divided by the base of the new number system:
245 | 2 | | | | | | | |
-244 | 122 | 2 | | | | | | |
1 | -122 | 61 | 2 | | | | | |
| 0 | -60 | 30 | 2 | | | | |
| | 1 | -30 | 15 | 2 | | | |
| | | 0 | -14 | 7 | 2 | | |
| | | | 1 | -6 | 3 | 2 | |
| | | | | 1 | -2 | 1 | |
| | | | | | 1 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 2*2 |
0 | .4*2 |
0 | .8*2 |
1 | .6*2 |
1 | .2*2 |
0 | .4*2 |
0 | .8*2 |
1 | .6*2 |
1 | .2*2 |
0 | .4*2 |
0 | .8*2 |
the result of the conversion was:
245.210 = 11110101.00110011002
answer: 245.2010 = 11110101.00110011002