title: Float sum with javascript
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/588004/is-javascripts-math-broken">Is JavaScript&#39;s Math broken?</a>  </p>
  </blockquote>
  
  
  
  <p>I'm calculating the sum of several float values using javascript and... I've noticed a strange thing never seen before. Executing this code:</p>
  
  <pre><code>parseFloat('2.3') + parseFloat('2.4')
  </code></pre>
  
  <p>I obtain <strong>4.699999999999999</strong></p>
  
  <p>So... what sould I do to obtain a correct value? (supposed that this is incorrect...)</p>