[NOOB] Finding Information (was: real noob question)
[NOOB] Finding Information (was: real noob question)
- Subject: [NOOB] Finding Information (was: real noob question)
- From: Stuart Malin <email@hidden>
- Date: Sun, 18 Jan 2009 12:47:31 -1000
On Jan 18, 2009, at 1:06 AM, Rob Keniger wrote:
On 18/01/2009, at 11:18 AM, Darren Stuart wrote:
Hi there, sorry for the real noobish question but I can't figure
this out or find an answer.
I have a variable called myMoney and its a NSDecimalNumber and I
want to set init it with the value of 23.30.
NSDecimalNumber *myMoney = [[NSDecimalNumber alloc] init];
If this is the wrong place to post this sort of question please can
someone point to such a place.
Kind Regards
Darren
You can't find an answer - have you had a look at the documentation?
It's right there.
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSDecimalNumber_Class/Reference/Reference.html
Sometimes to the newbie it may seem astounding that experienced Cocoa
programmers can snap back with specific references. These are not
really that difficult to find. Might I suggest an address to keep in
mind for searching for information:
http://developer.apple.com/cocoa
Then use the search box in the upper right.
In regard to the OP's query, I entered "creating a decimal number"
The lead result is the NSDecimalNumberHandler Class Reference, as a
PDF, as documented for iPhone, and as having the link Rob reported
above.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden