nsdecimalnumber
I'm having a problem with decimalNumberBySubtracting and decimalNumberByDividingBy
Simply put, decimalNumberBySubtracting and decimalNumberByDividingBy are not working ... at all.No errors, just messed up results.I really need to fix this but Im not getting any errors and I cant thi[详细]
2022-12-19 00:00 分类:问答Cocoa: NSDecimalNumber with mantissa and exponent of 0
Mathemati开发者_Python百科cally any number with an exponent of 0 is supposed to equal 1 (my remedial math research assures me).[详细]
2022-12-16 19:18 分类:问答Creating autorelease objects in iPhone Development
I have a requirement to create some NSDecimalNumber objects objects as part of my application (as I require the precision of calculation the开发者_JS百科y offer) but I note that in calculations they r[详细]
2022-12-16 00:37 分类:问答iPhone Currency input using NSDecimal instead of float
iPhone/Objective-C/Cocoa newbie here. Based on a number of posts on stackoverflow, I have cobbled together an IBAction that I\'m using in a basic iPhone calculator app that I\'m building. The IBAction[详细]
2022-12-15 02:58 分类:问答NSDecimalNumber zeros following decimal point (iPhone SDK)
I have the following code (...) numberStyle = [NSDecimalNumberHandler decimalNumberHandlerWithRoundingMode:NSRoundPlain[详细]
2022-12-14 10:56 分类:问答Calculating sum for decimal values via Core Data not working properly?
first time I post to this round, so please bear with me if I don\'t follow all the rules properly. I am writing an app for the iPhone (OS 3.1) and am trying to write some code which lets me add decim[详细]
2022-12-10 08:38 分类:问答