Skip to main content
Version: V1.0.0

RADIANS

Declaration

RADIANS(X)

Description

This function converts an angle to radians and returns the value of X in radians. π radians equal 180 degrees.

Examples

SELECT RADIANS(-10), RADIANS(0), RADIANS(10), RADIANS(-0.5), RADIANS(0.5);
+----------------------+------------+---------------------+-----------------------+----------------------+
| RADIANS(-10) | RADIANS(0) | RADIANS(10) | RADIANS(-0.5) | RADIANS(0.5) |
+----------------------+------------+---------------------+-----------------------+----------------------+
| -0.17453292519943295 | 0 | 0.17453292519943295 | -0.008726646259971648 | 0.008726646259971648 |
+----------------------+------------+---------------------+-----------------------+----------------------+
1 row in set (0.001 sec)