/*
@param floatNum :求四舍五入的浮点数
@param place:精确到小数点的位数
*/
- (NSString*)roundNumber:(NSNumber *)floatNum place:(int)place{
if (!floatNum) return 0 ;
double number = [floatNum doubleValue] ;
double powNum = pow(10.0, place) ;
number = round(number*powNum)/powNum ; //四舍五入
return [NSString stringWithFormat:@"%@",@(number)]; //去掉小数点后面多余的零
}