Translate the number 18.812510 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
18 | 16 | |
-16 | 1 | |
2 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 8125*16 |
D | .0*16 |
the result of the conversion was:
18.812510 = 12.D16
We found that Your number is negative. For further translation from direct code to additional code, specify the size of the number: (1 byte, 2 bytes, 4 bytes, 8 bytes).
answer: -18.812510 = 12.D16