I was looking for the answer to round after a calculation but I cannot seem to find it. I know you have to use the round code in your javascript but I do not know where to put it, it does not seem to work..
val1 = parseInt($("#figure1").val());
val2 = parseInt($("#figure2").val());
$("#totalcost").val( ("$" val1 + val2 ));
Where would I put the rounding code, so it rounds the total cost?
Thanks