#import <Foundation/Foundation.h> @interface NSString (FloatHandle) //去除float内小数点后多余的0 +(NSString *)stringFloatHandle:(NSString *)string; @end