This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
let\'s translate to decimal like this:
5∙83+3∙82+1∙81+2∙80+1∙8-1+3∙8-2 = 5∙512+3∙64+1∙8+2∙1+1∙0.125+3∙0.015625 = 2560+192+8+2+0.125+0.046875 = 2762.17187510
got It: 5312.138 =2762.17187510
Translate the number 2762.17187510 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
2762 | 16 | | |
-2752 | 172 | 16 | |
A | -160 | A | |
| C | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 171875*16 |
2 | .75*16 |
C | .0*16 |
the result of the conversion was:
2762.17187510 = ACA.2C16
answer: 5312.138 = ACA.2C16
now let\'s make the transfer using the decimal system.
let\'s do a direct translation from octal to binary like this:
5312.138 = 5 3 1 2. 1 3 = 5(=101) 3(=011) 1(=001) 2(=010). 1(=001) 3(=011) = 101011001010.0010112
answer: 5312.138 = 101011001010.0010112
Fill in the number with missing zeros on the right
let\'s do a direct translation from binary to hexadecimal like this:
101011001010.001011002 = 1010 1100 1010. 0010 1100 = 1010(=A) 1100(=C) 1010(=A). 0010(=2) 1100(=C) = ACA.2C16
answer: 101011001010.001011008 = ACA.2C16