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+0∙80+6∙8-1+5∙8-2 = 3∙8+0∙1+6∙0.125+5∙0.015625 = 24+0+0.75+0.078125 = 24.82812510
got It: 30.658 =24.82812510
Translate the number 24.82812510 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
24 | 16 | |
-16 | 1 | |
8 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 828125*16 |
D | .25*16 |
4 | .0*16 |
the result of the conversion was:
24.82812510 = 18.D416
answer: 30.658 = 18.D416
now let\'s make the transfer using the decimal system.
let\'s do a direct translation from octal to binary like this:
30.658 = 3 0. 6 5 = 3(=011) 0(=000). 6(=110) 5(=101) = 011000.1101012
answer: 30.658 = 11000.1101012
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:
00011000.110101002 = 0001 1000. 1101 0100 = 0001(=1) 1000(=8). 1101(=D) 0100(=4) = 18.D416
answer: 00011000.110101008 = 18.D416