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+7∙80+2∙8-1+6∙8-2 = 3∙8+7∙1+2∙0.125+6∙0.015625 = 24+7+0.25+0.09375 = 31.3437510
got It: 37.268 =31.3437510
Translate the number 31.3437510 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
31 | 16 | |
-16 | 1 | |
F | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 34375*16 |
5 | .5*16 |
8 | .0*16 |
the result of the conversion was:
31.3437510 = 1F.5816
answer: 37.268 = 1F.5816
now let\'s make the transfer using the decimal system.
let\'s do a direct translation from octal to binary like this:
37.268 = 3 7. 2 6 = 3(=011) 7(=111). 2(=010) 6(=110) = 011111.0101102
answer: 37.268 = 11111.010112
Fill in the number with missing zeros on the left
Fill in the number with missing zeros on the right
let\'s do a direct translation from binary to hexadecimal like this:
00011111.010110002 = 0001 1111. 0101 1000 = 0001(=1) 1111(=F). 0101(=5) 1000(=8) = 1F.5816
answer: 00011111.010110008 = 1F.5816