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:
325.1258 = 3 2 5. 1 2 5 = 3(=011) 2(=010) 5(=101). 1(=001) 2(=010) 5(=101) = 011010101.0010101012
answer: 325.1258 = 11010101.0010101012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
3∙82+2∙81+5∙80+1∙8-1+2∙8-2+5∙8-3 = 3∙64+2∙8+5∙1+1∙0.125+2∙0.015625+5∙0.001953125 = 192+16+5+0.125+0.03125+0.009765625 = 213.16601562510
got It: 325.1258 =213.16601562510
Translate the number 213.16601562510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
213 | 2 | | | | | | | |
-212 | 106 | 2 | | | | | | |
1 | -106 | 53 | 2 | | | | | |
| 0 | -52 | 26 | 2 | | | | |
| | 1 | -26 | 13 | 2 | | | |
| | | 0 | -12 | 6 | 2 | | |
| | | | 1 | -6 | 3 | 2 | |
| | | | | 0 | -2 | 1 | |
| | | | | | 1 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 166015625*2 |
0 | .33203*2 |
0 | .66406*2 |
1 | .32813*2 |
0 | .65625*2 |
1 | .3125*2 |
0 | .625*2 |
1 | .25*2 |
0 | .5*2 |
1 | .0*2 |
the result of the conversion was:
213.16601562510 = 11010101.0010101012
answer: 325.1258 = 11010101.0010101012