C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL COT() FunctionThe cot() is a Math function of MySQL. This function is used to get the cotangent of the given number. Syntax
select cot(num); Parameters:
Num: It is the number to get cotangent value. ReturnsThis function returns the cotangent of the given number. Example 1
Select cot(10); Output:
Example 2Select cot(5.2); Output:
Example 3Select cot(-6); Output:
Next TopicMySQL Math
|