title: Why is printf round floating point numbers up?
body: <p>I am trying to print some floating point numbers using <code>printf</code>.
  For example:</p>
  <pre><code>int main()
  {
      printf(&quot;%.1f&quot;,76.75); 
      return 0;
  }
  </code></pre>
  <p>Output: <code>76.8</code></p>
  <p>And I have some questions about the result.</p>
  <p>First of all, why didn't it print <code>76.7</code>?</p>
  <p>Second, how did it round the number?</p>