Javascript adding decimals to a number
<p>Why does this occur:</p>

<pre><code>window.onload = function(){
    var bob=new Number(1);  
    for (var i=0; i&lt;8 ;i++){        
        bob=Number(bob+1.1)             
    }

}
</code></pre>

<p>Alerts:
2.1</p>

<p>3.2</p>

<p>4.300000000000001</p>

<p>5.4</p>

<p>6.5</p>

<p>7.6</p>

<p>8.7</p>

<p>9.799999999999999</p>
