向上取整:float ceilf(float); double ceil(double); ... NSLog(@"%lf 向上取整为%lf, 向下取整为%lf, 四舍五入为%lf", c, ceilC, floorC, roundC);.
確定! 回上一頁