- Categories:
Numeric functions (Trigonometric)
COT¶
Computes the cotangent of its argument; the argument should be expressed in radians.
Syntax¶
COT( <input_expr> )
Arguments¶
input_exprThe value or expression to operate on. The data type must be FLOAT.
Returns¶
This function returns a value of type FLOAT.
Examples¶
SELECT COT(0), COT(PI()/3), COT(RADIANS(90));
+--------+--------------+------------------+
| COT(0) | COT(PI()/3) | COT(RADIANS(90)) |
|--------+--------------+------------------|
| inf | 0.5773502692 | 6.123233996e-17 |
+--------+--------------+------------------+