Basic math??? How do you add numbers
I am trying something like:
Code: Select all
subtotal = document.form.field.value
tax = subtotal * 0.0725
total = tax + subtotal
document.write(subtotal)Moderator: General Moderators
Code: Select all
subtotal = document.form.field.value
tax = subtotal * 0.0725
total = tax + subtotal
document.write(subtotal)Code: Select all
subtotal = new Number(document.form.field.value);