Hi Henrik,
I'm using 16F876A, I did some trial and error and finally got it. But I use this formula..
Adval=Adval*100/255 'gives the range 0-100
But I used Define ADC_BITS 8.

Thanks for your guidance.
joe