do this:For example I have two hex numbers
96h and 07h
I have to divide them and display on LCD
the result in hex is 15.6d
the result in decimal is 21.42
I am presently displaying 21.6d on LCD
I have not figured out how to convert that fractional 0.6d into 0.42
If any idea please let me know
Thanks
OK, so you have 96H = 150D and 7H which is still 7D, and you wish to present the results to 2 decimal places. I mentioned you get to choose the units of your numbers. Pick units such that there is no decimal remainder after the division.For example I have two hex numbers
96h and 07h
I have to divide them and display on LCD
the result in decimal is 21.42