Collections:
LOG10() - Logarithm to Base 10
How to calculate the logarithm of a number to base 10 using the LOG10() function?
✍: FYIcenter.com
LOG10(X) is a MySQL built-in function that
calculates the logarithm of X to base 10.
For example:
SELECT LOG10(1), LOG10(100), LOG10(2000); -- +----------+------------+--------------------+ -- | LOG10(1) | LOG10(100) | LOG10(2000) | -- +----------+------------+--------------------+ -- | 0 | 2 | 3.3010299956639813 | -- +----------+------------+--------------------+
Reference information of the LOG10() function:
LOG10(X): val Returns the base-10 logarithm of X. Arguments, return value and availability: X: Required. The input value. val: Return value. The logarithm of the input value to base 10. Available since MySQL 4.0.
Related MySQL functions:
⇒ LOG2() - Logarithm to Base 2
⇐ LOG() - Logarithm of Y to Base X
2023-11-15, 965🔥, 0💬
Popular Posts:
What is sqlservr.exe - Process - SQL Server (SQLEX?PRESS) in SQL Server? Process sqlservr.exe is the...
How To Fix the INSERT Command Denied Error in MySQL? The reason for getting the "1142: INSERT comman...
What Are Out-of-Range Errors with DATETIME values in SQL Server Transact-SQL? When you enter DATETIM...
What are single-byte character string data types supported in SQL Server Transact-SQL? Single-byte c...
How to connect SQL Server Management Studio Express to SQL Server 2005 Express in SQL Server? Once y...