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:
267.128 = 2 6 7. 1 2 = 2(=010) 6(=110) 7(=111). 1(=001) 2(=010) = 010110111.0010102
answer: 267.128 = 10110111.001012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
2∙82+6∙81+7∙80+1∙8-1+2∙8-2 = 2∙64+6∙8+7∙1+1∙0.125+2∙0.015625 = 128+48+7+0.125+0.03125 = 183.1562510
got It: 267.128 =183.1562510
Translate the number 183.1562510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
183 | 2 | | | | | | | |
-182 | 91 | 2 | | | | | | |
1 | -90 | 45 | 2 | | | | | |
| 1 | -44 | 22 | 2 | | | | |
| | 1 | -22 | 11 | 2 | | | |
| | | 0 | -10 | 5 | 2 | | |
| | | | 1 | -4 | 2 | 2 | |
| | | | | 1 | -2 | 1 | |
| | | | | | 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 15625*2 |
0 | .3125*2 |
0 | .625*2 |
1 | .25*2 |
0 | .5*2 |
1 | .0*2 |
the result of the conversion was:
183.1562510 = 10110111.001012
answer: 267.128 = 10110111.001012