OC中NSNumber转NSString

Talk is cheap.

NSNumberFormatter *format = [[NSNumberFormatter alloc] init];
format.numberStyle = NSNumberFormatterDecimalStyle;
NSString *formatStr = [format stringFromNumber:[NSNumber numberWithDouble:1234567.89]]

你可能感兴趣的:(OC中NSNumber转NSString)