Hello all.
I have a little problem here. I need to get the value of a textfiled which has a NSNumberFormatter with currency style. Now, Im doing: double d = [amountPayedTF doubleValue]; NSDecimalNumber * dm = (NSDecimalNumber *)[NSDecimalNumber numberWithDouble:d]; .. so then I can compare the decimals number with the entitie's attributes. BUT, on d, Im always getting just the thousand digit (the first one) when inputing for example 2664, when formatted it becomes 2.664.00 €, so Im geting only 2, if I put 264 --> 264.00 € I get the 264, and if I put 264.15 -> 264.15 € I get 264.15 in d... What am I doing wrong ? thanks tons. Gustavo _______________________________________________ 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