MySQL LOG10() Function

The Log10() is a Math function of MySQL. This function is used to get the base-10 logarithm of given number.

Syntax

Prameter:

number: It is the number for getting the log value.

Returns

This function returns the base-10 logarithm of a number. If the number is less than or equal to 0, this function will return NULL.

Example 1

Output:


MySQL Math LOG10() Function

Example 2

Output:


MySQL Math LOG10() Function

Example 3

Output:


MySQL Math LOG10() Function
Next TopicMySQL Math




Latest Courses