sumtr on cells formatted as currency
<p>I am using <a href="https://github.com/DLarsen/jquery-sumtr" rel="nofollow">sumtr</a> to sum up a column but I'd like to be able to calculate the sum from a column that's formatted for currency. </p>

<pre><code>$('#Cart').sumtr({
    readValue: function (e) { return Number(parseFloat(e.data('val'))
                             .replace(/[^0-9\.]+/g, "")); },
    formatValue: function (val) { return formatCurrency(val); }
});
</code></pre>

<p>If I remove the <code>readValue</code> above then the code works fine, it totals up a column that does not have a currency symbol; I'm using the <code>formatCurrency()</code> method to display the total formatted with a currency symbol.<br>
However if the column (with class "sum") is already formatted with currency then <code>sumtr</code> doesn't work with the values. So I've tried to get the <code>readValue</code> function to strip out anything but Numbers, but nothing is returned.</p>

<p>This is a part of the table sumtr is working on</p>

<pre><code>&lt;tr&gt;
    &lt;td&gt;Adrobupicator&lt;/td&gt;
    &lt;td class="currency"&gt;&amp;#163;700.01&lt;/td&gt;
    &lt;td&gt;1&lt;/td&gt;
    &lt;td class="sum currency"&gt;700.01&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;A1 Product 2&lt;/td&gt;
    &lt;td class="currency"&gt;&amp;#163;36.28&lt;/td&gt;
    &lt;td&gt;1&lt;/td&gt;
    &lt;td class="sum currency"&gt;36.28&lt;/td&gt;
&lt;/tr&gt;
&lt;tfoot&gt;
    &lt;tr class="summary"&gt;
        &lt;td colspan="3"&gt;Cart Total&lt;/td&gt;
        &lt;td class="currency"&gt;&lt;/td&gt;
    &lt;/tr&gt;
&lt;/tfoot&gt;
</code></pre>
