C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL COS() FunctionThe cos() is a Math function of MySQL. This function is used to get the cosine of the given number. Syntaxselect cos(num); Parameters:Num: It is the number to get cosine value. ReturnsThis function returns the cosine of the given number. Example 1select cos(11); Output: Example 2select cos(1.12); Output: Example 3select cos(-2); Output:
Next TopicMySQL Math
|