首页 > 代码库 > DEGREES(x)

DEGREES(x)

DEGREES(x) 用于将参数 x 由弧度转化为角度

mysql> SELECT DEGREES(PI()), DEGREES(PI()/2);+---------------+-----------------+| DEGREES(PI()) | DEGREES(PI()/2) |+---------------+-----------------+|           180 |              90 |+---------------+-----------------+

 

 

 

 

    

DEGREES(x)