1,字串拼接
NSString *newString = [NSString stringWithFormat:@"%@%@",tempA,tempB];
2,字元轉int
int intString = [newString intValue];
3,int轉字元
NSString *stringInt = [NSString stringWithFormat:@"%d",intString];
4,字元轉float
float floatString = [newString floatValue];
5,float轉字元
NSString *stringFloat = [NSString stringWithFormat:@"%f",intString];