You don't need jQuery for math, it's simple JavaScript. But -- you can use jQuery to get elements of your forms....
var qty = parseInt($('input#qty').val()) || 0; var product1 = parseFloat($('input#product1').val()) || 0; var discount = parseFloat($('input#discount').val()) || 0; var grandtotal = (qty * product1) - discount; $("div#total").html('<h1>$' + grandtotal.toFixed(2) + '</h1>'); This would roughly create variables to hold your form input values, then show the grandtotal in a div called #total. You can grasp the concept.The things to look up are Floating Point, Integers and Decimals, etc. http://www.w3schools.com/js/default.asp On Feb 6, 3:13 pm, webopolis <krodenho...@gmail.com> wrote: > How do I add/subtract currency with jquery?