JSREF

JavaScript Math.log10()

The Math.log10() method returns the base-10 logarithm of a number.