Hello Sirs,
I am working on PIC16F877 using hi-tech c compiler.
if i declare one integer variable say i = 200. then when i observe it in watch window of mplab then it shows equivalent hex value i.e. C8.
If I want to do division operation with i, say a = i/6.82; then it always take hex value in i but i want to do division operation with decimal only.
How i can solve this problem???
I am working on PIC16F877 using hi-tech c compiler.
if i declare one integer variable say i = 200. then when i observe it in watch window of mplab then it shows equivalent hex value i.e. C8.
If I want to do division operation with i, say a = i/6.82; then it always take hex value in i but i want to do division operation with decimal only.
How i can solve this problem???