Possible Duplicate:
NSString stringWithFormat adding a percent
a noob question here.
I have a code:
int value = [sender value];
[overLabel setText:[NSString stringWithFormat:@"Overhead: %d", (int)value]];
and this sets the label as (for example):
Overhead: 10
I'd like to be able to set it as:
Overhead: 10%
How do I implement the % into the string so it's not being used to print a value, but it's printed as an actual % character.
thank you!