This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
let\'s do a direct translation from octal to binary like this:
22.648 = 2 2. 6 4 = 2(=010) 2(=010). 6(=110) 4(=100) = 010010.1101002
answer: 22.648 = 10010.11012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
2∙81+2∙80+6∙8-1+4∙8-2 = 2∙8+2∙1+6∙0.125+4∙0.015625 = 16+2+0.75+0.0625 = 18.812510
got It: 22.648 =18.812510
Translate the number 18.812510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
18 | 2 | | | | |
-18 | 9 | 2 | | | |
0 | -8 | 4 | 2 | | |
| 1 | -4 | 2 | 2 | |
| | 0 | -2 | 1 | |
| | | 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 8125*2 |
1 | .625*2 |
1 | .25*2 |
0 | .5*2 |
1 | .0*2 |
the result of the conversion was:
18.812510 = 10010.11012
answer: 22.648 = 10010.11012