Re: NSString - Initialize with number....
Re: NSString - Initialize with number....
- Subject: Re: NSString - Initialize with number....
- From: Rosyna <email@hidden>
- Date: Tue, 2 Oct 2001 05:15:36 -0700
I don't see how from the readability point of view, you give it an
int, so you use %i. I think people can generally understand that %i
is an int, they both have an i...
Ack, at 10/2/01, Ondra Cada said:
>>>>>> Rosyna (R) wrote at Tue, 2 Oct 2001 04:52:01 -0700:
R> Try [NSString stringWithFormat:@"%i",myInt]
whilst that's right, '%d' might be somewhat better from the readability
point of view, since it points out that you'll get the decimal
representation.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insane People