-->
Page 1 of 1

How do I display FP of 4 decimals on Webpage

PostPosted: Wed Feb 17, 2016 8:14 pm
by xtal
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?

Re: How do I display FP of 4 decimals on Webpage

PostPosted: Thu Feb 18, 2016 3:32 pm
by xtal
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?