Hello everyone !
I have a problem with the float variables.
For example, i define float a = 123456123456.1234 and char lcd[30];
I used sprintf function to convert a to string and store into lcd (sprintf(lcd,"%0.2f",a);).
Then, i export lcd to LCD 16x2.
Result i see on the LCD is "123456100000.00"
Why this ?
And can everyone show me how to print a on LCD ("123456123456.1234")?
Best regard !