取整函数

来源:互联网 发布:apache jmeter 3.1 编辑:程序博客网 时间:2024/03/29 19:30
#include<math.h> 
 ceil(double x) //向上取整 
 
 floor(double x) //向下取整
0 0
原创粉丝点击