I'm dealing with lots of different currencies in my application, and I want to know what the "best" way is to store them in an SQLite3 database.
I'm leaning towards a fixed-point representation (i.e. store them as integers, where $3.59 gets stored as 359, ¥400 stored as 40000). Is this a good idea? What if my input data later changes and requires more precision?