|
acos()
The
Mathematical Function
acos()
returns the cosine angle in radian measure for the value of the parameter
"number".
Syntax of the Mathematical Function acos()
The parameter "number" of the Mathematical Function acos()
number
The parameter "number" is a placeholder for a column name,
variable
or
a constant,
which has to be available as
float,
real,
double precision
datatypes. Additionally, the parameter "number" recognises any other datatype that can be converted with
implicit conversion
into one of the required datatypes.
Example for the Mathematical Function acos()
select acos(0.5)
go
-----
1.047198
Returns the cosine value in radian measure of the value 0.5.
select degrees(acos(0.5))
go
-----
60.000000
Returns the cosine of the value 0.5.
See also:
ASE T-SQL - Aggregate Functions, Mathematical Functions, abs(), asin(), atan(), atn2(), ceiling(), cos(), cot(), degrees(), exp(), floor(), log(), log10(), pi(), power(), radians(), rand(), round(), sign(), sin(), sqrt(), tan().
|