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:
306.016 = 3 0 6. 0 = 3(=0011) 0(=0000) 6(=0110). 0(=0000) = 1100000110.2
answer: 306.016 = 1100000110.2
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
3∙162+0∙161+6∙160+0∙16-1 = 3∙256+0∙16+6∙1+0∙0.0625 = 768+0+6+0 = 774.10
got It: 306.016 =774.10
Translate the number 774.10 в binary like this:
the Integer part of the number is divided by the base of the new number system:
774 | 2 | | | | | | | | | |
-774 | 387 | 2 | | | | | | | | |
0 | -386 | 193 | 2 | | | | | | | |
| 1 | -192 | 96 | 2 | | | | | | |
| | 1 | -96 | 48 | 2 | | | | | |
| | | 0 | -48 | 24 | 2 | | | | |
| | | | 0 | -24 | 12 | 2 | | | |
| | | | | 0 | -12 | 6 | 2 | | |
| | | | | | 0 | -6 | 3 | 2 | |
| | | | | | | 0 | -2 | 1 | |
| | | | | | | | 1 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | *2 |
the result of the conversion was:
774.10 = 1100000110.2
answer: 306.016 = 1100000110.2