Re: Prepending to fixed length
Re: Prepending to fixed length
- Subject: Re: Prepending to fixed length
- From: j o a r <email@hidden>
- Date: Wed, 19 Jul 2006 00:00:05 +0200
On 18 jul 2006, at 23.54, Trygve Inda wrote:
NSString *foo = [NSString stringWithFormat:@"]", aSignedInt];
This results in strings like " 8" instead of "08".
You forget to add a "0":
NSString *foo = [NSString stringWithFormat:@"d", aSignedInt];
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden