title: Stop the rounding on float c++
body: <p>I am getting an issue when trying to output my float using std::cout &lt;&lt; </p>
  
  <p>I have the following values:</p>
  
  <pre><code> vector2f = {-32.00234098f, 96.129380f} //takes 2 floats (x, y)
   output: -32.0023:96.1294
  </code></pre>
  
  <p>What I am looking for is:</p>
  
  <pre><code> output: -32.00234098:96.129380
  </code></pre>
  
  <p>The actual numbers could be vary from the 7 decimal places (.0000007) to 3 decimal places (.003) so setting a fixed rounding number does not work in this case.</p>
  
  <p>Any help would be great as I have tried changed to doubles as well but to no avail.</p>
  
  <p>Thanks in advance! </p>