I want to have a percentage sign in my string after a digit. Something like this: 75%.
How can I have this done? I tried:
[NSString stringWithFormat:@"%d\%", someDigit];
But it didn't work for me.
转载于:https://stackoverflow.com/questions/739682/how-to-add-percent-sign-to-nsstring