objective c - Displaying percentage using NSString -
How do we display percentage characters in objective-c?
I am using this:
[NSString localizedStringWithFormat: @ "% .2f%", percentq]]
but For some reason, this% does not recognize. I thought I could survive using this ... but I was very wrong.
A similar question was tagged C
asked today:. The answer here is the same ... use a double %%.
Comments
Post a Comment