On Mon, Jan 19, 2009 at 2:57 PM, Brian Slick <briansl...@mac.com> wrote: > I'm not sure this is a documentation failure as much as a language failure, > at least in this case. Why isn't there an initWithInt: or initWithFloat: > like in some other cases? THAT would have resulted in the documentation > page leading to the correct answer. Mantissa? Come on.
I really don't see the problem with this. While Apple generally does a good job of insulating you from the details of how things work underneath, you still have to know *something* about how things are built. NSDecimalNumber is fundamentally built around mantissa and exponent. Thinking the document is inadequate because it relies on these concepts would be like thinking that the NSString documentation is inadequate because it relies on the concept of "character". There are basically only three ways to make a variable NSDecimalNumber that are mentioned in the documentation. If faced with this problem, it sure seems to me that it would be worth investigating all of them before giving up. Mike _______________________________________________ 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