title: Format float variable output in c++ using std::ofstream
body: <p>I have the following code:</p>
  
  <pre><code>std::ofstream myfile;
  std::stringstream filename3;
  myfile.open("results.txt");
  
  myfile &lt;&lt; "precision= " &lt;&lt; precision &lt;&lt; "\n";
  </code></pre>
  
  <p>And the output in my file is formatted like this:</p>
  
  <pre><code>precision= 5.96e-07...
  </code></pre>
  
  <p>How can I print the numeric value as a number instead of a numeric value expressed using e?</p>