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:
123.328 = 1 2 3. 3 2 = 1(=001) 2(=010) 3(=011). 3(=011) 2(=010) = 001010011.0110102
answer: 123.328 = 1010011.011012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
1∙82+2∙81+3∙80+3∙8-1+2∙8-2 = 1∙64+2∙8+3∙1+3∙0.125+2∙0.015625 = 64+16+3+0.375+0.03125 = 83.4062510
got It: 123.328 =83.4062510
Translate the number 83.4062510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
83 | 2 | | | | | | |
-82 | 41 | 2 | | | | | |
1 | -40 | 20 | 2 | | | | |
| 1 | -20 | 10 | 2 | | | |
| | 0 | -10 | 5 | 2 | | |
| | | 0 | -4 | 2 | 2 | |
| | | | 1 | -2 | 1 | |
| | | | | 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 40625*2 |
0 | .8125*2 |
1 | .625*2 |
1 | .25*2 |
0 | .5*2 |
1 | .0*2 |
the result of the conversion was:
83.4062510 = 1010011.011012
answer: 123.328 = 1010011.011012