title: Why JavaScript return me a wrong result in this subtraction of decimals values?
body: <p>I am pretty new in JavaScript and I have found a very strange situation doing an extremely simple mathematical operation: a subtraction.</p>
  
  <p>So in a jQuery function I have this code:</p>
  
  <pre><code>saldoRicalcolato = finanziamento - variazioneAnticipoNumber;
  </code></pre>
  
  <p>Where <strong>finanziamento</strong> and <strong>variazioneAnticipoNumber</strong> are 2 <strong>numbers</strong> having decimal digits.</p>
  
  <p>It works almost always good except for some specific values.</p>
  
  <p>You can replicate the strange behavior performing this statement into the FireBug console:</p>
  
  <pre><code>2205.88 - 1103.01
  1102.8700000000001
  </code></pre>
  
  <p>So in this case the result is substantially wrong because I obtain <strong>1102.8700000000001</strong> and not <strong>1102.87</strong> as I expected. </p>
  
  <p>Why? What am I missing? Is it a JavaScript engine bug or something like this? Possible?</p>