RegularExpression.h 547 B

123456789101112131415161718
  1. //
  2. // RegularExpression.h
  3. // IBOSSIPAD
  4. //
  5. // Created by guan hong hou on 17/7/23.
  6. // Copyright © 2017年 沈阳东科云信软件有限公司. 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)QuantityRegular:(NSString*) moneyAmount;
  14. +(BOOL)isAmount:(NSString*)amount;
  15. +(BOOL)isCurrency:(NSString*)amount;
  16. @end