On 25/01/2011, at 9:51 AM, Nala Gnirut wrote:

> I'm getting the same results with
> 
>    NSString *test = [NSString localizedStringWithFormat:@"%'6.2f",
> 900000.55];
>    NSLog(@"Test: %@", test);
> 
> Output is:
> 
> Test: '6.2f


That's because you have placed the format specifier inside quote marks. Remove 
them and try again.

--Graham


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to