ios中四舍五入的方法

(int)roundf(float或者double类型的数据)

你可能感兴趣的:(ios中四舍五入的方法)