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, 1768🔥, 0💬
Popular Posts:
What Happens to the Current Transaction If a START TRANSACTION Is Executed in MySQL? If you are in a...
What is sqlservr.exe - Process - SQL Server (SQLEX?PRESS) in SQL Server? Process sqlservr.exe is the...
How To Connect to a MySQL Server with a Port Number in MySQL? If you want to connect a MySQL server ...
Where to find reference information and tutorials on MySQL database functions? I want to know how to...
Where to find answers to frequently asked questions on PHP Connections and Query Execution for MySQL...