Am building a application that'll allow users to enter values in different currency formats.
My initial idea was to save the data in the following format.
- amount - string
- currency - string with ISO 4217 currency code e.g. GBP, USD, RUB
Is this design a good idea or should I use for the amount field, integer, decimal or float type?
Am unsure how the different styles of formatting will affect the storage.