Logo 
Search:

SQL Server Articles

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

TAN Function

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

This article explains TAN function of sql server with examples.

TAN is used to get tangent of the specified number of radians.


Syntax of TAN Function :

TAN (float_expression)

float_expression is an expression of float or real data type.

Return type of TAN is float data type.



Examples of TAN Function :

Example 1 : Use of TAN function in select clause

SELECT TAN(-30)

Output
6.40533119664628

Above example returns tangent value for specified number of angle.
  
Share: 

 
 
 

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

Sarita Patel
Sarita Patel author of TAN 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!