- Categorias:
Funções numéricas (Trigonométrico)
COT¶
Calcula a cotangente de seu argumento; o argumento deve ser expresso em radianos.
Sintaxe¶
COT( <input_expr> )
Arguments¶
input_exprThe value or expression to operate on. The data type must be FLOAT or DECFLOAT.
Returns¶
If the input expression is of type DECFLOAT, the returned type is DECFLOAT. Otherwise, the returned type is FLOAT.
Exemplos¶
SELECT COT(0), COT(PI()/3), COT(RADIANS(90)); --------+--------------+------------------+ COT(0) | COT(PI()/3) | COT(RADIANS(90)) | --------+--------------+------------------+ inf | 0.5773502692 | 6.123233996e-17 | --------+--------------+------------------+