A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  special characters  sybase-tech-blog


Category: ASE: Functions: Mathematical Functions

atan()

The Mathematical Function atan() returns the arc tangent angle in radian measure for the value of the parameter "number" .

Syntax of the Mathematical Function atan()

    atan(number)
    

The parameter "number" of the Mathematical Function atan()

number
The parameter "number" is a placeholder for column names, variables or constants, which have to be available as float, real, double precision datatypes. Additionally, the parameter "number" recognises any other datatype which can be converted with implicit conversion into any of the required datatypes.

Example for the Mathematical Function atan()

    select atan(1)
go
-----
0.785398

Returns the arc tangent in radian measure of the value 1.

    select degrees(atan(1))
go
-----
45.000000

Returns the arc tangent of the value 1.

See also:

ASE T-SQL - Aggregate Functions,
Mathematical Functions,
abs(),
acos(),
asin(),
atn2(),
ceiling(),
cos(),
cot(),
degrees(),
exp(),
floor(),
log(),
log10(),
pi(),
power(),
radians(),
rand(),
round(),
sign(),
sin(),
sqrt(),
tan().