Returns the base-10 logarithm of a number.
The number to compute the base-10 logarithm of.
The base-10 logarithm of the given number.
Will throw an error if the input is not positive.
log10(10); // returns 1log10(100); // returns 2 Copy
log10(10); // returns 1log10(100); // returns 2
Returns the base-10 logarithm of a number.