I know the basic exponent formula using javascript:
(Math.pow(x,y)}
What I do not know, nor can I find is how to have x and y be variables.
x needs to be the variable of qty.value the formula I am using is
3000 * resfactor * 1.4(qty.value-1) the x-1 is the exponent.
so resfactor is a set variable of 40. so I could write this 120000(1.4 to the qty.value-1 power)
I hope I am making sense with this.
any help would be appreciated
(Math.pow(x,y)}
What I do not know, nor can I find is how to have x and y be variables.
x needs to be the variable of qty.value the formula I am using is
3000 * resfactor * 1.4(qty.value-1) the x-1 is the exponent.
so resfactor is a set variable of 40. so I could write this 120000(1.4 to the qty.value-1 power)
I hope I am making sense with this.
any help would be appreciated