RegularExpression.h 511 B

12345678910111213141516171819
  1. //
  2. // RegularExpression.h
  3. // IBOSSIPAD
  4. //
  5. // Created by guan hong hou on 15/12/23.
  6. // Copyright © 2015年 elongtian. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface RegularExpression : NSObject
  10. -(BOOL)AmountRegular:(NSString*) moneyAmount;
  11. - (NSString *) decimalwithFormat:(NSString *)format floatV:(float)floatV;
  12. -(BOOL)DiscountRegular:(NSString*) percentAmount;
  13. +(BOOL)isAmount:(NSString*)amount;
  14. +(BOOL)isCurrency:(NSString*)amount;
  15. +(BOOL)isLegalAmount:(NSString*)amount;
  16. @end