I am having trouble finding the answer to this question, I'm thinking
the solution must be blindingly obvious, so therefore of course I
cannot see it.
I wish to take a fraction in DEC say .4 and convert it to a HEX value.
I also need to find a way to determine if a number is a fraction in
HEX and convert it back to DEC.
(This would be from a disassembly, and we are learning this for
troubleshooting purposes)
My instructor showed us this, but he has got to be the most boring
person on earth and to be honest I think I dozed off for a second. I
really want to be a proffesional computer programmer, and nothing
about this is listed in the book. But we have a homework assignment
and I have 3 days to get this done. There is a list of 50 numbers in
both HEX and DEC. I won't list them here cuz I want to solve the
problems myself, I just happen to need to be pointed in the right
direction for solving them, a formula or something would be nice.
BTW I have tried the calc.exe HEX function, and when I select .4 then
switch to HEX I get 0, which I know cannot be the right answer (does
explain alot of problems with windows though
I know that the problem is related to disassembly, but the course is
C++ so I'm really hoping to not got flamed for an irrelevant post.
Thank you in advance for your replies... BTW the email is made up, so
only reply here... Thank you