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:
222.316 = 2 2 2. 3 = 2(=0010) 2(=0010) 2(=0010). 3(=0011) = 1000100010.00112
answer: 222.316 = 1000100010.00112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
2∙162+2∙161+2∙160+3∙16-1 = 2∙256+2∙16+2∙1+3∙0.0625 = 512+32+2+0.1875 = 546.187510
got It: 222.316 =546.187510
Translate the number 546.187510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
546 | 2 | | | | | | | | | |
-546 | 273 | 2 | | | | | | | | |
0 | -272 | 136 | 2 | | | | | | | |
| 1 | -136 | 68 | 2 | | | | | | |
| | 0 | -68 | 34 | 2 | | | | | |
| | | 0 | -34 | 17 | 2 | | | | |
| | | | 0 | -16 | 8 | 2 | | | |
| | | | | 1 | -8 | 4 | 2 | | |
| | | | | | 0 | -4 | 2 | 2 | |
| | | | | | | 0 | -2 | 1 | |
| | | | | | | | 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 1875*2 |
0 | .375*2 |
0 | .75*2 |
1 | .5*2 |
1 | .0*2 |
the result of the conversion was:
546.187510 = 1000100010.00112
answer: 222.316 = 1000100010.00112