有四舍五入
- (NSString *) decimalwithFormat:(NSString *)format floatV:(float)floatV
{
NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init];
[numberFormatter setPositiveFormat:format];
return [numberFormatter stringFromNumber:[NSNumber numberWithFloat:floatV]];
}