Collections:
DEGREES() - Radians to Degrees
How to convert a given angle in radians to degrees using the DEGREES() function?
✍: FYIcenter.com
DEGREES(X) is a MySQL built-in function that
converts a given angle in radians to degrees.
For example:
SELECT DEGREES(0), DEGREES(1.57), DEGREES(3.14); -- +------------+-------------------+-------------------+ -- | DEGREES(0) | DEGREES(1.57) | DEGREES(3.14) | -- +------------+-------------------+-------------------+ -- | 0 | 89.95437383553924 | 179.9087476710785 | -- +------------+-------------------+-------------------+
Reference information of the DEGREES() function:
DEGREES(X): deg Returns the argument X, converted from radians to degrees. Arguments, return value and availability: X: Required. The input angle in radians. deg: Return value. The input angle in degrees. Available since MySQL 4.0.
Related MySQL functions:
⇒ FLOOR() - Flooring a Numeric Value
⇐ COT() - Cotangent Trigonometric Value
2023-11-14, 1041🔥, 0💬
Popular Posts:
How REAL and FLOAT Literal Values Are Rounded in SQL Server Transact-SQL? By definition, FLOAT(n) sh...
How To List All Login Names on the Server in SQL Server? If you want to see a list of all login name...
How To Revise and Re-Run the Last SQL Command in Oracle? If executed a long SQL statement, found a m...
How To Start the Command-Line SQL*Plus in Oracle? If you Oracle server or client installed on your w...
How To Divide Query Output into Multiple Groups with the GROUP BY Clause in SQL Server? Sometimes, y...