On Apr 8, 2008, at 12:33 PM, Stuart Green wrote:
returnString = [NSString stringWithFormat:@"%c-%i-%i-%f",
asciiString, firstDouble, secondDouble, thirdDouble];
Which is producing a weird output when used outside of an NSLog.
Examining each parameter in the debugger shows exactly what I want,
i.e. an ASCII string, a floored double (no decimals), another
floored double (no decimals) and a double with a decimal.
What do I need to do in order to display them correctly in the
returnString?
Maybe:
returnString = [NSString stringWithFormat:@"%s-%i-%i-%f",
asciiString, (int)firstDouble, (int)secondDouble,
thirdDouble];
-==-
Jack Repenning
[EMAIL PROTECTED]
Project Owner
SCPlugin
http://scplugin.tigris.org
"Subversion for the rest of OS X"
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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]