im trying to make a function to calculate tax from the function opprod
function chDelivery(delivery){
var deliv_value=delivery.value;
document.myform.deliveryAmt.value= deliv_value;
}
function opprod(myproducts){
var prod =myproducts.value;
document.myform.productp.value= prod;
}
function calcTax(myproducts)
{ var product
product = parseFloat(myproducts);
var tax;
taxout = productp * 0.13;
//return tax;
document.write(taxout);
document.write(product);
}
I read this a lot but at least according to Statcounter Google Chrome continues to grow at the expense of other browsers.
Is it possible other Chromium browsers are still being counted as Google Chrome?
Question
ironsight2000
im trying to make a function to calculate tax from the function opprod
function chDelivery(delivery){ var deliv_value=delivery.value; document.myform.deliveryAmt.value= deliv_value; } function opprod(myproducts){ var prod =myproducts.value; document.myform.productp.value= prod; } function calcTax(myproducts) { var product product = parseFloat(myproducts); var tax; taxout = productp * 0.13; //return tax; document.write(taxout); document.write(product); }Link to comment
https://www.neowin.net/forum/topic/849308-javascript-calculate-tax/Share on other sites
3 answers to this question
Recommended Posts