point!!:

floor是个向下取整的函数:floor(x);

ceil是个向上取整的函数:ceil(x);