- Catégories :
Fonctions numériques (trigonométrique)
COT¶
Calcule la cotangente de son argument ; l’argument doit être exprimé en radians.
Syntaxe¶
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.
Exemples¶
SELECT COT(0), COT(PI()/3), COT(RADIANS(90)); --------+--------------+------------------+ COT(0) | COT(PI()/3) | COT(RADIANS(90)) | --------+--------------+------------------+ inf | 0.5773502692 | 6.123233996e-17 | --------+--------------+------------------+