Menu
Hi
Below is code that I’m trying to use to set a variable depending on the value in another variable. for some reason it not working. it not subtracting the amount indeicated
I hope that what did can be followed
[code]
var convlandtax;
if (convPurchasePrice <=55000){
var convlandtax = ((convPurchasePrice)*0.005);
}
if (convPurchasePrice <=250000){
var convlandtax = (((convPurchasePrice) *0.01)-250);
}
if (convPurchasePrice <=400000){
var convlandtax = (((convPurchasePrice) *0.015)-1525);
}
if (convPurchasePrice >=400000){
var convlandtax =(((convPurchasePrice) *0.02)-3525);
}