Calculator with jquery? does javascript support logarithm calculations?

Hi,

I have already built the tool with php, but now I was asked to build it dynamically I mean results will show up without the page being refreshed. My calculator produces effective value when nominal value is used as input and vice-versa.

Will jQuery/javascript be able to do logarithm calculations?

If not I think Ajax is the last solutions is it?

JavaScript can do logarithm calculations.
Check out the Math Object: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math

Thanks, @James_Hibbard I found javacripts’ round function only taking one parameter. I wanted to round to the nearest 3 digits and it seems this is not possible?

Okay I found this one!!

Math.round(x*1000)/1000

This is too clever maan…