COT Function

Returns the tangent in radians.

Category: Trigonometric
Returned data type: DOUBLE

Syntax

Arguments

expression

specifies any valid SQL expression that evaluates to a numeric value.

Data type DOUBLE
See <sql-expression>
FedSQL Expressions

Example

The following statements illustrate the COT function:
Statements
Results
select cot(0);
.
select cot(0.5)
1.830488
select cot(5.79);
-1.86051
select cot(1);
0.642093