title: Format double value in c++
body: <p>I have a double value and I want to limit precision of it and then convert to string.</p>
  
  <pre><code>double dblValue = 50.0000018963;
  </code></pre>
  
  <p>I need to convert this to, 50.0 and to string format.</p>