Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By xtal
#41326 When using client.print(string + vars) my floating point vars only display 2 decimal places,
I assume this is the default setting.
Can I display more than 2 decimal places, and how do I do it?
Can I change on each var if wanted?
User avatar
By xtal
#41398 Arduino 1.6.5 esp dk 1.5.0
When using client.print(string + vars) my floating point vars only display 2 decimal places,
I assume this is the default setting.
Can I display more than 2 decimal places, and how do I do it?
I would like to display at least 3 decimal digits.
Can I change on each var if wanted?