Logo 
Search:

SQL Server Articles

Submit Article
Home » Articles » SQL Server » Math FunctionsRSS Feeds

LOG10 Function

Posted By: Sarita Patel     Category: SQL Server     Views: 1961

This article explains LOG10 function of sql server with examples.

LOG10 is used to calculate base-10 logarithm for the specified numeric value.


Syntax of LOG10 Function :

LOG10 (float_expression)

float_expression is an expression of float data type.

Return type of LOG10 is float data type.



Examples of LOG10 Function :

Example 1 : Use of LOG10 function in select clause

SELECT LOG10(200)

Output
2.30102999566398

Above example returns base-10 logarithm for specified numeric expression.
  
Share: 

 
 
 

Didn't find what you were looking for? Find more on LOG10 Function Or get search suggestion and latest updates.

Sarita Patel
Sarita Patel author of LOG10 Function is from United States.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!