ios向上取整 ceilf()
向下:
floorf()
extern
float
ceilf(
float
);
extern
double
ceil(
double
);
extern
long
double
ceill(
long
double
);
extern
float
floorf(
float
);
extern
double
floor(
double
);
extern
long
double
floorl(
long
double
);