jquery - number formatting issue
<p>This is my code:</p>

<pre><code>&lt;script src="js/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="js/jquery.field.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="js/jquery.calculation.js" type="text/javascript"&gt;&lt;/script&gt;    
&lt;script&gt;    
   $(function() {
      $('input[name^=sum]').keyup(function() {
            var sum1 = parseFloat($('input[name=sum1]').val()) || 0;
            var sum2 = parseFloat($('input[name=sum2]').val()) || 0; 
            var sum3 = parseFloat($('input[name=sum3]').val()) || 0; 

            $('#c_card_amount').val(sum1*sum3/100);        
            $('#total_inc_charges').val((sum1*sum3/100)+sum1);
       });
   });
&lt;/script&gt;
</code></pre>

<p>In the input fields I would like to show the numbers in 1,000.00 format. </p>

<p>How can I format the numbers like this?  Right now after the calculation numbers sometimes gets messed up like 452.25600000001.  I would like to avoid that as well. Would be nice to rule the numbers properly. </p>

<p>Thank you for your help.    </p>
