保留小数位 round
select round(12.6784,2);
>>> 12.68
向下取整 floor
select floor(12.742);
>>> 12
向上取整 ceil
select ceil(15.1232);
>>> 16
保留小数位 round
select round(12.6784,2);
>>> 12.68
向下取整 floor
select floor(12.742);
>>> 12
向上取整 ceil
select ceil(15.1232);
>>> 16