This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
let\'s do a direct translation from hexadecimal to binary like this:
1B7.816 = 1 B 7. 8 = 1(=0001) B(=1011) 7(=0111). 8(=1000) = 110110111.12
answer: 1B7.816 = 110110111.12
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
1∙162+11∙161+7∙160+8∙16-1 = 1∙256+11∙16+7∙1+8∙0.0625 = 256+176+7+0.5 = 439.510
got It: 1B7.816 =439.510
Translate the number 439.510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
439 | 2 | | | | | | | | |
-438 | 219 | 2 | | | | | | | |
1 | -218 | 109 | 2 | | | | | | |
| 1 | -108 | 54 | 2 | | | | | |
| | 1 | -54 | 27 | 2 | | | | |
| | | 0 | -26 | 13 | 2 | | | |
| | | | 1 | -12 | 6 | 2 | | |
| | | | | 1 | -6 | 3 | 2 | |
| | | | | | 0 | -2 | 1 | |
| | | | | | | 1 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 5*2 |
1 | .0*2 |
the result of the conversion was:
439.510 = 110110111.12
answer: 1B7.816 = 110110111.12