> easiest way is to handle them as integers > (specifically as 'long long int') by converting > the prices by a factor of 100. > So far well.
That assumes that every currency has 'pennies', like the US Dollar or the Euro. AFAIK, that's not true (e.g., One Japanese Yen is the smallest monetary unit in Japan). Currencies have a 'precision' and if you want to create an application that supports all global currencies correctly, you should consider that, otherwise users in, say, Japan would potentially see something like '12,423.00 JPY' in your application and wonder what the '.00' is. Oliver __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
