Compute the cosine of a numerical value.
SELECT COS(2); |
The COS() function yields the cosine value of a given number.
COS(number) |
Parameter |
Description |
number |
Necessary: A numerical value is required. |
Works in: | From MySQL 4.0 |
Provide the cosine value of a given number.
SELECT COS(PI()); |