COT() function
X is in Radian COT() with PI()mathematical constant PI() (π) value is 3.141593
We used ROUND() to show only two decimal places.
COT() with RADIANSRadians function convert degree value to radian. SELECT COT(RADIANS(0)); // Output is NULL SELECT COT(RADIANS(45)); // Output is 1 SELECT ROUND(COT(RADIANS(90)),2); // Output is0.00 SELECT ROUND(COT(RADIANS(180)),2); // Output is Infinity ![]()
This article is written by plus2net.com team.
https://www.plus2net.com
![]() ▼ More on Math functions in SQL |