Skip to main content
Version: Latest-4.1

radians

Converts x from an angle to a radian.

Syntax​

REDIANS(x);

Parameters​

x: supports the DOUBLE data type.

Return value​

Returns a value of the DOUBLE data type.

Examples​

mysql> select radians(90);
+--------------------+
| radians(90) |
+--------------------+
| 1.5707963267948966 |
+--------------------+
1 row in set (0.00 sec)
Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.