如何根据对象C中的值向上或向下舍入数字.例如.
让我们说数字是143 - 我想要下降到140但如果数字是146 - 我想要舍入到150
有什么建议?
math objective-c ios5
ios5 ×1
math ×1
objective-c ×1