Provide the logarithm base 10 of 2.
SELECT LOG10(2); |
The LOG10() function calculates the base-10 logarithm of a number.
Note: Also refer to the LOG() function for related operations.
LOG10(number) |
Parameter |
Description |
number |
A number greater than 0 |
Works in: | From MySQL 4.0 |
Provide the logarithm base 10 of 4.5.
SELECT LOG10(4.5); |