首页 > 代码库 > ROUND(x)

ROUND(x)

ROUND(x) 用于对 x 进行四舍五入

mysql> SELECT ROUND(-1.14), ROUND(1.14);+--------------+-------------+| ROUND(-1.14) | ROUND(1.14) |+--------------+-------------+|           -1 |           1 |+--------------+-------------+

 

 

 

 

    

ROUND(x)