Re: Recommendation for keeping track of money in Core Data
Re: Recommendation for keeping track of money in Core Data
- Subject: Re: Recommendation for keeping track of money in Core Data
- From: Jeff LaMarche <email@hidden>
- Date: Mon, 16 Jan 2006 21:35:50 -0500
On Jan 16, 2006, at 8:37 PM, Mike Zornek wrote:
Longer term I'd like it to be an international app as well, and be
able to
store money based on system preferences.
Oops... didn't address this part. I would think that you would handle
this primarily using formatters, but would just store the actual
value as a float. You might use a separate String attribute of length
3 to store the currency code (e.g. USD, EUR, CAD), but other than
that, the display or formatting of the data shouldn't happen in the
model layer.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden