取上整函数:ceil(double);

取下整函数:floor(double);

头文件:#include<cmath>或#include<math.h>