PHP开发教程

MySQL degrees()函数

DEGREES(X)

该函数返回X从弧度转换为度值。

mysql>SELECT DEGREES(PI());
+---------------------------------------------------------+
| DEGREES(PI())                                           |
+---------------------------------------------------------+
| 180.000000                                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)


Powered by PHP二次开发 ©2008-2017