Notice: session_start(): A session had already been started - ignoring in /home/u614325693/domains/onedoubt.com/public_html/post.php on line 3
LOG10 - ONEDOUBT.COM

Example

Return the base-10 logarithm of 2:

SELECT LOG10(2);

Definition and Usage

The LOG10() function returns the natural logarithm of a number to base-10.

Note: See also the function.

Syntax

LOG10(number)

Parameter Values

Parameter Description
number A number greater than 0

Technical Details

Works in: From MySQL 4.0

More Examples

Example

Return the base-10 logarithm of 4.5:

SELECT LOG10(4.5);


Login
ADS CODE