阅读背景:

为什么NSNumberFormatter不删除小数点和尾随零?

来源:互联网 

I want to convert an unsigned long int to an NSString formatted with commas every 3 digits and neither a decimal point nor trailing zeros. I can get the commas into the NSString without any trouble using NSNumberFormatter, but for some reason I can't get the decimal point and zeros to go away. to an NS




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: