title: Javascript calculation bug
body: <p>is there a better way to multiply and divide figures than using the <code>*</code> and <code>/</code> ?</p>
  
  <p>There is a strange behavior in Chrome Firefox and Internet Explorer using those operaters:</p>
  
  <pre><code>x1 = 9999.8
  x1 * 100 = 999979.9999999999
  x1 * 100 / 100 = 9999.8
  x1 / 100 = 99.99799999999999
  </code></pre>
  
  <p><a href="http://jsbin.com/ekoye3/" rel="noreferrer">http://jsbin.com/ekoye3/</a></p>
  
  <p>I am trying to round down the user input with <code>parseInt ( x1 * 100 ) / 100</code> and the result for <code>9999.8</code> is <code>9999.79</code></p>
  
  <p>Should I use another way to achieve this?</p>