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, 1400🔥, 0💬
Popular Posts:
What To Do If the StartDB.bat Failed to Start the XE Instance in Oracle? If StartDB.bat failed to st...
How To Convert Binary Strings into Integers in SQL Server Transact-SQL? Binary strings and integers ...
How Many Groups of Data Types in MySQL? MySQL support 3 groups of data types as listed below: String...
How To Use GO Command in "sqlcmd" in SQL Server? "sqlcmd" is a command line client application to ru...
How To Escape Special Characters in SQL statements in MySQL? There are a number of special character...