NSPredicateEditor and decimal numbers with fractions
NSPredicateEditor and decimal numbers with fractions
- Subject: NSPredicateEditor and decimal numbers with fractions
- From: Ruotger Skupin <email@hidden>
- Date: Wed, 18 Jun 2008 18:07:21 +0200
Hi,
I've set up a NSPredicateEditor with a template that forms for example
a predicate like: [Gross Value] [is] [ ]
the format of the text field is set as Number in Interface Builder. If
I input 32.99 into the field I get a predicate like this:
grossAmount.amount == 32
Obviously the number is rounded off at the decimal point. Since this
is a currency amount, I need the decimal fraction ("the cents").
Any Advice?
Ruotger
_______________________________________________
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