VeloDB Cloud
SQL Manual
Functions
math-functions
radians

radians

Description

Syntax:

DOUBLE radians(DOUBLE x)

This function converts degrees to radians.

Example

mysql> select radians(0);
+--------------+
| radians(0.0) |
+--------------+
|            0 |
+--------------+
mysql> select radians(30);
+---------------------+
| radians(30.0)       |
+---------------------+
| 0.52359877559829882 |
+---------------------+
mysql> select radians(90);
+--------------------+
| radians(90.0)      |
+--------------------+
| 1.5707963267948966 |
+--------------------+

Keywords

RADIANS