title: How to specify setprecision rounding
body: <p>Can I specify setprecision to round double values when stream to std output?</p>
  
  <pre><code>ofile &lt;&lt; std::setprecision(12) &lt;&lt; total_run_time/TIME &lt;&lt; "\n";
  </code></pre>
  
  <p><strong>Output:</strong>
      0.756247615801</p>
  
  <pre><code>ofile &lt;&lt; std::setprecision(6)&lt;&lt; total_run_time/TIME &lt;&lt; "\n";
  </code></pre>
  
  <p><strong>Output:</strong>
  0.756248</p>
  
  <p>But I need the output as <code>0.756247</code></p>
  
  <p>Thanks</p>