Friday, October 6, 2006

International Money in Cocoa

Mike Zornek:

I built Billable for my own needs and it eventually became something commercial. When I first started I made a point to store the money as NSDecimalNumbers to keep all the calculations accurate and later I turned on the “Localize” checkbox on the Number Formatter in Interface Builder which basically will do its best to show the money in the local format of the system. This approach kind of works but is incomplete and clunky.

Comments RSS · Twitter

Leave a Comment