MySQL RADIANS() function
RADIANS() function
MySQL RADIANS() converts the value of a number from degrees to radians. (pi radians equals to 180 degrees).
Syntax:
RADIANS(M);
Argument:
Name | Description |
---|---|
M | A number in degrees which is to be converted to radians. |
Syntax Diagram:

MySQL Version: 5.6
Pictorial presentation of MySQL RADIANS() function
Example of MySQL RADIANS() function
Code:
SELECT RADIANS(270);
Explanation:
The above MySQL statement converts 270 (in degrees) to radians.
Sample Output:
mysql> SELECT RADIANS(270); +------------------+ | RADIANS(270) | +------------------+ | 4.71238898038469 | +------------------+ 1 row in set (0.00 sec)
All Mathematical Functions
- Weekly Trends
- Java Basic Programming Exercises
- SQL Subqueries
- Adventureworks Database Exercises
- C# Sharp Basic Exercises
- SQL COUNT() with distinct
- JavaScript String Exercises
- JavaScript HTML Form Validation
- Java Collection Exercises
- SQL COUNT() function
- SQL Inner Join
- JavaScript functions Exercises
- Python Tutorial
- Python Array Exercises
- SQL Cross Join
- C# Sharp Array Exercises
We are closing our Disqus commenting system for some maintenanace issues. You may write to us at reach[at]yahoo[dot]com or visit us at Facebook