SelectDB Cloud
SQL 手册
函数
math-functions
degrees

degrees

description

Syntax

DOUBLE degrees(DOUBLE x) 返回x的度, 从弧度转换为度.

example

mysql> select degrees(0);
+--------------+
| degrees(0.0) |
+--------------+
|            0 |
+--------------+
mysql> select degrees(2);
+--------------------+
| degrees(2.0)       |
+--------------------+
| 114.59155902616465 |
+--------------------+
mysql> select degrees(Pi());
+---------------+
| degrees(pi()) |
+---------------+
|           180 |
+---------------+

keywords

DEGREES
© 2023 北京飞轮数据科技有限公司 京ICP备2022004029号 | Apache、Apache Doris 以及相关开源项目名称均为 Apache 基金会商标