类别:

数值函数 (三角函数)

RADIANS

将度转换为弧度。

语法

RADIANS( <real_expr> )
Copy

示例

显示调用 RADIANS 函数的结果:

SELECT RADIANS(0), RADIANS(60), RADIANS(180), RADIANS(360), RADIANS(720);
+------------+-------------+--------------+--------------+--------------+
| RADIANS(0) | RADIANS(60) | RADIANS(180) | RADIANS(360) | RADIANS(720) |
|------------+-------------+--------------+--------------+--------------|
|          0 | 1.047197551 |  3.141592654 |  6.283185307 | 12.566370614 |
+------------+-------------+--------------+--------------+--------------+
Copy
语言: 中文