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, 1189🔥, 0💬
Popular Posts:
How To Start Instance with a Minimal Initialization Parameter File in Oracle? The sample initializat...
Where to find answers to frequently asked questions on Managing Security, Login and User in SQL Serv...
How To Generate Random Numbers with the RAND() Function in SQL Server Transact-SQL? Random numbers a...
What Privilege Is Needed for a User to Delete Rows from Tables in Another Schema in Oracle? For a us...
How To Start MySQL Server in MySQL? If you want to start the MySQL server, you can run the "mysqld" ...