1115 视频的阅读数目 更改
NSString *readStr=[NSString stringWithFormat:@"%@", [newsLIST objectForKey:@"readnum"]];
NSString *readDa = readStr;
if (readStr.length>=5) {
NSInteger redNum = [readStr integerValue];
NSString *one,*two;
NSInteger onee = redNum/10000;
one = [NSString stringWithFormat:@"%zd",onee];
NSInteger twoo = redNum%10000;
twoo = twoo/1000;
two = [NSString stringWithFormat:@"%zd",twoo];
if (one.length>1) {
readDa=[NSString stringWithFormat:@"%@万",one];
}else{
readDa=[NSString stringWithFormat:@"%@.%@万",one,two];
}
}else{
readDa=[NSString stringWithFormat:@"%@", [newsLIST objectForKey:@"readnum"]];
}