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, 903🔥, 0💬
Popular Posts:
Where to find tutorials to answer some frequently asked questions on Microsoft SQL Server Transact-S...
How to set database to be READ_ONLY in SQL Server? Databases in SQL Server have two update options: ...
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...
How To Recover a Dropped Index in Oracle? If you have the recycle bin feature turned on, dropped ind...
How To Count Rows with the COUNT(*) Function in SQL Server? If you want to count the number of rows,...