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, 1397🔥, 0💬
Popular Posts:
How To Create a Dynamic Cursor with the DYNAMIC Option in SQL Server Transact-SQL? If the underlying...
How To Update Multiple Rows with One UPDATE Statement in SQL Server? If the WHERE clause in an UPDAT...
What Are Date and Time Functions in MySQL? MySQL offers a number of functions for date and time valu...
How To Create a Stored Program Unit in Oracle? If you want to create a stored program unit, you can ...
How to download Microsoft SQL Server 2005 Express Edition in SQL Server? Microsoft SQL Server 2005 E...