title: JavaScript multiplication arithmetic
body: <p>I tried this expression in both my FireFox and Chrome console:</p>
  
  <pre><code>17.99 * 100;
  </code></pre>
  
  <blockquote>
    <p>Expected Result: 1799</p>
    
    <p>Actual Result: 1798.9999999999998</p>
  </blockquote>
  
  <p>I also tried:</p>
  
  <pre><code>parseInt(17.99 * 100);
  </code></pre>
  
  <blockquote>
    <p>Expected Result: 1799</p>
    
    <p>Actual Result: 1798</p>
  </blockquote>
  
  <p>Why is this happening, and how do I get the expected result?</p>