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, 957🔥, 0💬
Popular Posts:
Where to find answers to frequently asked questions on Managing Security, Login and User in SQL Serv...
How to download and install the scaled-down database AdventureWorksLT in SQL Server? If you want to ...
How To Drop a Stored Procedure in Oracle? If there is an existing stored procedure and you don't wan...
How To Calculate DATETIME Value Differences Using the DATEDIFF() Function in SQL Server Transact-SQL...
How To Get a List of All Tables with "sys.tables" View in SQL Server? If you want to see the table y...