jquery adding prices together
<p>Morning,
I am having an issue adding up some totals using jQuery.</p>

<p>I am passing the following in to this...</p>

<ul>
<li>Price - 600.00</li>
<li>Shipping - 4.05</li>
</ul>

<p>However i am getting the following results...</p>

<blockquote>
  <p>subTotal = 600<br>
  productShipping = 4.05<br>
  orderTotal = 4.05600</p>
</blockquote>

<pre><code> $.each(result, function (index, res) {
                var price = 600.00; //res.productPrice;

                var subTotal = res.itemQty * price;
                var orderTotal = res.productShipping + subTotal;

                new_record = "&lt;tr&gt;" +
                             "&lt;td class=\"totals\"&gt;Sub Total&lt;/td&gt;" +
                             "&lt;td&gt;£" + subTotal + "&lt;/td&gt;" +
                             "&lt;/tr&gt;" +
                             "&lt;tr&gt;" +
                             "&lt;td class=\"totals\"&gt;Shipping&lt;/td&gt;" +
                             "&lt;td&gt;£" + res.productShipping + "&lt;/td&gt;" +
                             "&lt;/tr&gt;" +
                             "&lt;tr&gt;" +
                             "&lt;td class=\"totals\"&gt;Order Total&lt;/td&gt;" +
                             "&lt;td&gt;£" + orderTotal + "&lt;/td&gt;" +
                             "&lt;/tr&gt;";

                $('#orderTotals').append(new_record);
</code></pre>

<p>I have a feeling there might be some issues with my jQuery adding up these items, however i can work it out. Could someone please shed some light on where i am going wrong.</p>

<p>res is the response i am using from the webservice call.</p>

<p>Many Thanks.</p>
