PHP开发教程

MySQL cos()函数

COS(X)

该函数返回X,X值是以弧度给出的余弦值。

mysql>SELECT COS(90);
+---------------------------------------------------------+
| COS(90)                                                 |
+---------------------------------------------------------+
| -0.44807361612917                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)


Powered by PHP二次开发 ©2008-2017