标签:mod str bsp turn 整数 with intval ret eva
-(BOOL)judgeStr:(NSString *)str1 with:(NSString *)str2
{
int a=[str1 intValue];
double s1=[str2 doubleValue];
int s2=[str2 intValue];
if (s1/a-s2/a>0) {
return NO;
}
return YES;
}
标签:mod str bsp turn 整数 with intval ret eva
原文地址:http://www.cnblogs.com/jzdwajue/p/7016651.html