摘要: IOS 四舍五入 进一法 去尾法 float numberToRound; int result; numberToRound = 4.51; result = (int)roundf(numberToRound); NSLog(@"roundf(%f) = %d", numberToRound, 阅读全文
posted @ 2019-08-15 15:01 时光清浅、 阅读(417) 评论(0) 推荐(0) 编辑