round(double a, int d):四舍五入,返回保留d位小数的近似值。要注意:四舍五入只考虑d+1小数位,如:round(1.449,1)返回1.4,round(1.49,1)返回1.5。
select round(3.141,1) 返回 3.1
标签:返回,四舍五入,1.4,函数,1.5,round From: https://www.cnblogs.com/FlyingOstrich/p/17637011.html
round(double a, int d):四舍五入,返回保留d位小数的近似值。要注意:四舍五入只考虑d+1小数位,如:round(1.449,1)返回1.4,round(1.49,1)返回1.5。
select round(3.141,1) 返回 3.1
标签:返回,四舍五入,1.4,函数,1.5,round From: https://www.cnblogs.com/FlyingOstrich/p/17637011.html