On Jan 17, 2009, at 8:18 PM, 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.
...
If this is the wrong place to post this sort of question please can someone point to such a place.

This is the right place for Cocoa questions, but I suggest learning your way around the documentation and searching it thoroughly before posting.

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSDecimalNumber_Class/Reference/Reference.html

You wanted to work with NSDecimalNumber, so you should definitely have searched the documentation for that term. You'd find the class reference and, very near the top of the page, all the ways to initialize a shiny new NSDecimalNumber instance all your own ...

  Search first. Ask questions later.

--
I.S.



_______________________________________________

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 arch...@mail-archive.com

Reply via email to