|
tan()
The
mathematical function
tan()
returns the sine value of the parameter "number" in radian measure.
Syntax of the Mathematical Function tan()
The parameter "number" of the Mathematical Function tan()
number
The parameter "number" is a placeholder for
column names,
variables
or
constants,
which must be of one of the datatypes
float,
real,
double precision
Additionally, the parameter recognises any other datatype, which can be converted into one of the
required datatypes, using
implicit conversion.
Example for the Mathematical Function tan()
select tan(45)
go
-----
1.619775
Returns the sine in radian measure.
select tan(radians(45.0))
go
-----
1.000000
Returns the sine.
See also:
ASE T-SQL - Aggregate Functions, Mathematical Functions, abs(), acos(), asin(), atan(), atn2(), ceiling(), cos(), cot(), degrees(), exp(), floor(), log(), log10(), pi(), power(), radians(), rand(), round(), sign(), sin(), sqrt().
|