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:
12.2438 = 1 2. 2 4 3 = 1(=001) 2(=010). 2(=010) 4(=100) 3(=011) = 001010.0101000112
answer: 12.2438 = 1010.0101000112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
1∙81+2∙80+2∙8-1+4∙8-2+3∙8-3 = 1∙8+2∙1+2∙0.125+4∙0.015625+3∙0.001953125 = 8+2+0.25+0.0625+0.005859375 = 10.31835937510
got It: 12.2438 =10.31835937510
Translate the number 10.31835937510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
10 | 2 | | | |
-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. | 318359375*2 |
0 | .63672*2 |
1 | .27344*2 |
0 | .54688*2 |
1 | .09375*2 |
0 | .1875*2 |
0 | .375*2 |
0 | .75*2 |
1 | .5*2 |
1 | .0*2 |
the result of the conversion was:
10.31835937510 = 1010.0101000112
answer: 12.2438 = 1010.0101000112