1.四舍五入 round
select round(47.54452)
round保留l两位小数。
45.54
2.向下取整 floor
select floro(47.54452)
48
3.向上取整 ceiling
select ceiling(47.54452)
47
4.舍去小数位 cast (可以将字符串类型转变成bigint)
select cast(47.54452)
47
cast(birth AS BIGINT)
5.取余 pmod
pmod(a,b)
a对b去余