Adding floats with javascript
<p>I'm using jQuery, and I want to sum up the values in my table column, everything seems to work fine, but my value is returned a string with all the values added like: <code>123.5013.0012.35</code></p>

<p>How can I sum these properly?</p>

<pre><code>var totals

$(".add").each(function(i) {
  totals += parseFloat($(this).text()).toFixed(2);
});

console.log(totals);
</code></pre>
