首页 > 技术文章 > mysql中的类型转换和精确位数
littlemonk 2016-12-22 18:51 原文
select round(123.5); 四舍五入
select floor(123.5);取整数部分
select ceil(123.5);四舍五入