title: Javascript error in toPrecision() function
body: <p>I want to use <code>toPrecision()</code> to reduce the size of a number before I display it.  However, I sometimes cannot multiply output of the function by another number without gaining a small rounding error.  See the code sample below:</p>
  
  <pre><code>var x = 0.0197992182093305
  alert (x.toPrecision(4)) //Correct: 0.01980
  alert (Number(x.toPrecision(4))) //Correct: 0.0198
  alert( Number(x.toPrecision(4)) * 100) //Incorrect: 1.9800000000000002
  </code></pre>
  
  <p>JSFiddle: <a href="http://jsfiddle.net/ueLsL460/4/" rel="nofollow">http://jsfiddle.net/ueLsL460/4/</a> What's going on here?</p>