

#import <Foundation/Foundation.h>
#import "NSString+FloatHandle.h"
@interface Calculator : NSObject
@property (nonatomic , strong)NSString *number1;
@property (nonatomic , strong)NSString *number2;
@property (nonatomic , strong)NSString *result;
@property (nonatomic , assign)NSInteger exType;

//根据不同运算符执行运算
-(NSString *)Execute;

//计算和
-(NSString *)getSum;
//计算差
-(NSString *)getDifference;
//计算积
-(NSString *)getProduct;
//计算商
-(NSString *)getQuotient;
//转换正负数
-(NSString *)getPlusMinus:(NSString *)number;

//清空
-(void)calculatorEmpty;
@end
