title: javascript float calculation
body: <p>I have problem with calcualting float values via javascript.</p>
  
  <p>first my code</p>
  
  <pre><code>var d_val = 0.00;
  $.each($('.prices a b'), function(index,obj){
      d_val = parseFloat( $(obj).text().replace( '€', '' ) );
      group_price +=   d_val;
  });
  console.log( '-----&gt; '+ group_price );
  </code></pre>
  
  <p>when i run this code when adding new elements into ".prices" firebug prints...</p>
  
  <pre><code>-----&gt; 0.8
  -----&gt; 1.6
  -----&gt; 2.4000000000000004
  -----&gt; 3.2
  </code></pre>
  
  <p>$('.prices a b') has alltime a string like 0.80€ or 0.50€
  Does somebody has an idea, what the problem is?</p>