Creating NSDecimal
Creating NSDecimal
- Subject: Creating NSDecimal
- From: "HAMILTON, Steven" <email@hidden>
- Date: Fri, 31 Oct 2008 16:08:03 +1000
- Acceptlanguage: en-US, en-AU
- Thread-topic: Creating NSDecimal
Hi folks,
Can someone tell me how I create an NSDecimal? The C struct one, not the ObjC NSDecimalNumber. For performance and simplicity I'd rather use the C interface but for the life of me I can't find out how to actually create one of these and assign a value to it.
\\Declare
NSDecimal *decimal;
\\assign<file:///\\assign>? Surely its not as simple as this?
decimal = 16.75
Steven Hamilton | Solutions Designer | BT Infrastructure | Business Technology | Suncorp | Tel: 07 3135 4684
email@hidden | Level 27, Brisbane Square, 266 George Street, Brisbane
________________________________
This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system.
If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line.
_______________________________________________
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