BryanTregunna
3 years agoCommunity Member
Javascript Math.pow
Hi any javascripters out there in this brilliant community.
I need the user to carry out some calculations. They enter a series of data, with the result being calculated for them. Everything goes well until the final calculation, which is to multiply one variable "NetFig" to the power of another variable called "NetPower". This is where I need some javascript (Math.pow).
I have no idea how javascript works, but I am an expert at copying and pasting. So I am looking for the code to:
- extract the two variables,
- do the calc
- give me the result
Please!