Outdated Version
You are viewing an older version of this section. View current production version.
COS
Computes the cosine of x, where x is given in radians.
COS (x)
Arguments
- x: the argument in radians
Return Type
Float or double. NULL if x is NULL.
** Examples**
+--------------------+
| cos(3.14159265359) |
+--------------------+
| -1 |
+--------------------+
1 row in set (0.05 sec)