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().

This function is valid in v2.0.0 to v2.4.1. This function has been downloaded 0 times.


{number} x
The number for which the logarithm will be calculated.
{number} base
The base of the calculated logarithm.


The logarithm of x for the specified base.