Okada
Banned
Hi
I have Problem with strcat()
Find attached mikroC PRO PIC project and Proteus simulation file.
Press A button and it will show "Set frequency"
Frequency will be 100.00MHz
Now use B or C button to decrement or increment the value and then make again value 100 then it shows 100.0MHz instead of 100.00MHz.
Please tell me how to solve this problem. I have spent 2 hours finding a solution for it but it is not working. What ever method I use it prints 100.0MHz after first use.
It is my clients requirement that it display 100.00MHz that is two digits after decimal point.
I am using float2ascii.h which is provided by edaboard member paulfjujo.
I have Problem with strcat()
Find attached mikroC PRO PIC project and Proteus simulation file.
Press A button and it will show "Set frequency"
Frequency will be 100.00MHz
Now use B or C button to decrement or increment the value and then make again value 100 then it shows 100.0MHz instead of 100.00MHz.
Please tell me how to solve this problem. I have spent 2 hours finding a solution for it but it is not working. What ever method I use it prints 100.0MHz after first use.
It is my clients requirement that it display 100.00MHz that is two digits after decimal point.
I am using float2ascii.h which is provided by edaboard member paulfjujo.