asked on January 7, 2016
Hi all,
I am subtracting two field, my code looks like this so far:
$(document).ready(function () { $('#q42 input, #q43 input').change(function () { $('#q29 input').val($('#q42 input').val() - $('#q43 input').val()); }); });
which is working fine, except that there are too many numbers after the decimal. How would I go about limiting this number to 5 digits? Here is a screenshot:
Thanks!
0
0