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:
3∙81+1∙80+0∙8-1+5∙8-2+6∙8-3+7∙8-4 = 3∙8+1∙1+0∙0.125+5∙0.015625+6∙0.001953125+7∙0.000244140625 = 24+1+0+0.078125+0.01171875+0.001708984375 = 25.09155273437510
got It: 31.05678 =25.09155273437510
Translate the number 25.09155273437510 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
25 | 16 | |
-16 | 1 | |
9 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 091552734375*16 |
1 | .46484*16 |
7 | .4375*16 |
7 | .0*16 |
the result of the conversion was:
25.09155273437510 = 19.17716
answer: 31.05678 = 19.17716
now let\'s make the transfer using the decimal system.
let\'s do a direct translation from octal to binary like this:
31.05678 = 3 1. 0 5 6 7 = 3(=011) 1(=001). 0(=000) 5(=101) 6(=110) 7(=111) = 011001.0001011101112
answer: 31.05678 = 11001.0001011101112
Fill in the number with missing zeros on the left
let\'s do a direct translation from binary to hexadecimal like this:
00011001.0001011101112 = 0001 1001. 0001 0111 0111 = 0001(=1) 1001(=9). 0001(=1) 0111(=7) 0111(=7) = 19.17716
answer: 00011001.0001011101118 = 19.17716