COS
On this page
Computes the cosine of x, where x is given in radians.
Syntax
COS (x)
Arguments
- 
        
x: the argument in radians 
Return Type
Float or double.
Example
SELECT COS(3.14159265359);
+--------------------+
| cos(3.14159265359) |
+--------------------+
|                 -1 |
+--------------------+
1 row in set (0.05 sec)Last modified: February 24, 2023