RE: Double to NSString conversion
RE: Double to NSString conversion
- Subject: RE: Double to NSString conversion
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Mon, 7 Jul 2003 10:11:12 -0400
double x = 1.23456;
NSString *aString = [NSString stringWithFormat:@"%f", x];
This question has been asked at least a dozen times. In the future, check
the archives first at cocoa.mamasam.com.
Jonathan
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden]On Behalf Of Cyprien
>
Sent: Monday, July 07, 2003 9:39 AM
>
To: email@hidden
>
Subject: Double to NSString conversion
>
>
>
How can I convert a double to a NSString in order to use it with
>
setStringValue:(NSString *)aString ?
>
>
Cyprien
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.