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, 1049🔥, 0💬
Popular Posts:
What Privilege Is Needed for a User to Delete Rows from Tables in Another Schema in Oracle? For a us...
How To Format Time Zone in +/-hh:mm Format in SQL Server Transact-SQL? From the previous tutorial, y...
How To Insert New Line Characters into Strings in SQL Server Transact-SQL? If you want to break a st...
What Is an Oracle Tablespace in Oracle? An Oracle tablespace is a big unit of logical storage in an ...
How To Change the Name of a Database User in SQL Server? If you want to change the name of an existi...