get 2 decimal numbers with auto round off
<p>How to get 2 decimal numbers with auto round off to my auto total amount fields <code>.val()</code> function in jQuery.</p>

<p>heres my code</p>

<pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function(){
    $('#AmountPaid, #OtherCharges, #Amount').on('input',function() {
        var AmountPaid = parseFloat($('#AmountPaid').val()).toFixed(2);
        var OtherCharges = parseFloat($('#OtherCharges').val()).toFixed(2);
        var Amount =   $('#Amount').val(parseFloat(AmountPaid) + parseFloat(OtherCharges));

    });
});
&lt;/script&gt;
</code></pre>

<p>I have<br></p>

<blockquote>
  <p>AmountPaid = 63.48 <br> OtherCharges= 10 <br> Amount =
  73.4799999999999<br></p>
</blockquote>

<p>total should be = 73.48</p>