title: Precision of floating point - C++03
body: <p>Suppose i do the following:</p>
  
  <pre><code>Example A:
  float i = 123.0f;
  std::cout &lt;&lt; i;
  </code></pre>
  
  <p>I'll get the output <code>123</code></p>
  
  <p>My question is when the default precision of float is 6 for <code>std::cout</code> why do I get the output 123 ?</p>