round()函数 round(23.5,0)第二个参数是至少保留几位小数,这个函数最少有一位小数,而向上取整 向下取整则没有,所以只要整数时需要 cast(round(23.5,0) as int) 结果是:24