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:
2∙82+5∙81+2∙80+1∙8-1+3∙8-2 = 2∙64+5∙8+2∙1+1∙0.125+3∙0.015625 = 128+40+2+0.125+0.046875 = 170.17187510
got It: 252.138 =170.17187510
Translate the number 170.17187510 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
170 | 16 | |
-160 | A | |
A | | |
|
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:
170.17187510 = AA.2C16
answer: 252.138 = AA.2C16
now let\'s make the transfer using the decimal system.
let\'s do a direct translation from octal to binary like this:
252.138 = 2 5 2. 1 3 = 2(=010) 5(=101) 2(=010). 1(=001) 3(=011) = 010101010.0010112
answer: 252.138 = 10101010.0010112
Fill in the number with missing zeros on the right
let\'s do a direct translation from binary to hexadecimal like this:
10101010.001011002 = 1010 1010. 0010 1100 = 1010(=A) 1010(=A). 0010(=2) 1100(=C) = AA.2C16
answer: 10101010.001011008 = AA.2C16