Logo 
Search:

SQL Server Articles

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

ACOS Function

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

This article explains ACOS function of sql server with examples.

ACOS is used to get angle in radians for specified cosine value. It also known as arccosine.


Syntax of ACOS Function :

ACOS (float_expression)

float_expression is a float or real  number between -1 to 1. If you specify value outside this value then it returns an error. 

Return type of ACOS is float data type.


Examples of ACOS Function :

Example 1 : Use of ACOS function in select clause

SELECT ACOS(0.20)

Output
1.36943840600457

Above example returns angle in radians for specified cosine value 0.20 .
  
Share: 

 
 
 

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

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