ecaits
Member level 4
- Joined
- Jan 16, 2014
- Messages
- 76
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 579
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???