title: Floating point formatting in printf()
body: <p>I have an array of floats where data are stored with varying decimal points so some are <code>123.40000</code>, <code>123.45000</code>, <code>123.45600</code>...now if i want to print these values in the string without the 0s in the end in <code>printf()</code> so that they are <code>123.4</code>, <code>123.45</code>, <code>123.456</code>, without those 0s in the end. Is this possible? If so, how?</p>