Re: Formatting double values
Re: Formatting double values
- Subject: Re: Formatting double values
- From: Aaron Fothergill <email@hidden>
- Date: Sun, 10 Oct 2004 01:20:07 +0100
stringWithFormat:@"%f",myDouble (or initWithString with the same) will
return a string with the double value, the same as putting into a
string in C.
Aaron
_____________________________
Aaron Fothergill : MD / Lead Coder
Strange Flavour Ltd
email@hidden
http://www.strangeflavour.com
On 10 Oct 2004, at 01:17, Christoph Lauterbach wrote:
Hi,
I've searched in the Foundation API Reference, but I haven't found the
answer:
How can I format a double value (i.e. 0.0000) and return it as a
NSString?
I expect there is a connection between NSString and
NSNumberFormatter...
Thank you.
Christoph
--
http://www.christoph-lauterbach.de
--
+++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++
Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl
_______________________________________________
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
_______________________________________________
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