Collections:
RADIANS() - Degrees to Radians
How to convert a given angle in degrees to radians using the RADIANS() function?
✍: FYIcenter.com
RADIANS(X) is a MySQL built-in function that
converts a given angle in degrees to radians.
For example:
SELECT RADIANS(0), RADIANS(90), RADIANS(180); -- +------------+--------------------+-------------------+ -- | RADIANS(0) | RADIANS(90) | RADIANS(180) | -- +------------+--------------------+-------------------+ -- | 0 | 1.5707963267948966 | 3.141592653589793 | -- +------------+--------------------+-------------------+
Reference information of the RADIANS() function:
RADIANS(X): rad Returns the argument X, converted from degrees to radians. Arguments, return value and availability: X: Required. The input angle in degrees. rad: Return value. The input angle in radians. Available since MySQL 4.0.
Related MySQL functions:
⇒ RAND() - Random Value Generator
2023-11-15, 1048🔥, 0💬
Popular Posts:
How To Connect to a MySQL Server with a Port Number in MySQL? If you want to connect a MySQL server ...
How To Start the Command-Line SQL*Plus in Oracle? If you Oracle server or client installed on your w...
How To Create a Table Index in Oracle? If you have a table with a lots of rows, and you know that on...
How to set database to be READ_ONLY in SQL Server? Databases in SQL Server have two update options: ...
How To Look at the Current SQL*Plus System Settings in Oracle? If you want to see the current values...