Calculator with jquery? does javascript support logarithm calculations?


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:

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!!


This is too clever maan…