title: Function atof() rounds its result to integer part
body: <p>Why does atof round "14718.5084" to 14718.5?
  Is there a way to prevent that (i.e. get the whole number 14718.5084)?</p>
  
  <p>code:</p>
  
  <pre><code>double latitude=atof("14718.5084");
  std::cout &lt;&lt;"latitude test "&lt;&lt;latitude&lt;&lt; "\n";
  </code></pre>
  
  <p>and the output is:</p>
  
  <pre><code>latitude test 14718.5
  </code></pre>
  
  <p>thanks</p>