log10
The Math.log10() method returns the base-10 logarithm of a number.
Syntax
Math.log10()
Returns
The base-10 logarithm of the number. NaN if the number is negative. -Infinity if the number is 0.
Parameters
- x (float)
- A number.