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);
}
Neowin says it's $39.99, but their site says $399.99 after discount. Is Neowin covering the difference? I'll take 7 if they are. Not 8, not 6, never 5, but 7.
Yeah and now they added space above the tab bar, so now I have to painstakingly aim at just slightly below the top of the screen to reach a tab with my mouse.
truly hate it
are you sure you saw the numbers correctly? Sounds like 280 CAD was the year and not per month.
280 CAD is according to google $200 USD.
That ain't right for 1 month.
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