asked on July 28, 2016
•
Show version history
I am looking to trim a calculated total to 2 decimal places. I have been trying to use .toFixed(2) but it keeps preventing the code to work correctly:
$(document).ready(function () { $('.Rate input').blur(function () { $('.GrandTotal input').val($('.Totals input').val() * $('.Rate input').val()); }); });
0
0