The weight of the lowest fractional bit is 1/16 or 0.0625, so you would need four display digits to represent it exactly. If this is what you want, you can multiply with 625 and convert to decimal. Or just use a look-up table of intended representations with your selected width, as TrickyDicky suggested.
Thank you very much FvM and TrickyDicky for your reply... It's very helpful!
If I use 8 bit fraction bit, the lowest fraction bit is 1/256 or 0.00390625, but it have too many digit (8 decimal digit fraction), so how to make it only 2 digit or 4 digit without reduce fraction bit?
you now have a problem of displaying it, not with your actual data.
you will have to decide how many decimal bits are acceptable and a Look up table should suit this problem.
TrickyDicky, What you mean with acceptable decimal bits?
I just want to diplay like this:
99.99
if I add with 1 it will display 100.00 decimal.. but I use 8 binary fraction bits..
please help me..