Re: combining strings with floats into an NSTextView
Re: combining strings with floats into an NSTextView
- Subject: Re: combining strings with floats into an NSTextView
- From: Jonathan Jackel <email@hidden>
- Date: Sun, 20 Feb 2005 09:12:36 -0500
[NSString stringWithFormat:@"The result is: %f", yourFloat]
Jonathan
On Feb 20, 2005, at 6:51 AM, dor kelman wrote:
hello, i am trying to do some calculations with floats and enter it
into an NSTextView along with a string that explains the outcome of my
calculation. i cant seem to figure out how to convert the float into a
string. once i know how to do that i will just use the
stringByAppendingString method. is this even the correct and most
efficient way of doing this. i have been struggling with this all day.
please help me. _______________________________________________
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