ID EN
Mathematical Functions

COT(X)

MySQL 8.4

Returns the cotangent of X. Returns NULL if X is NULL.

Syntax

MYSQL
SELECT COT(12);
-1.5726734063977
SELECT COT(0);
out-of-range error

Examples

Example
MYSQL
SELECT COT(12);
-1.5726734063977
SELECT COT(0);
out-of-range error