select round(123.5); 四舍五入 select floor(123.5);取整数部分 select ceil(123.5);四舍五入 转载于:https://www.cnblogs.com/littlemonk/p/6212476.html