log()
Gets the logarithm of any number in the specified base. NOTE: this function works best for values that don't rely on a base of Math.E
. If you want to find natural log it would be best to simply use Math.log()
.
x
for the specified base
.