title: printf %f with only 2 numbers after the decimal point?
body: <p>In my <code>printf</code>, I need to use <code>%f</code> but I'm not sure how to truncate to 2 decimal places:</p>
  
  <p>Example:
  getting</p>
  
  <p><code>3.14159</code></p>
  
  <p>to print as:</p>
  
  <p><code>3.14</code></p>