Thanks for all the advice on this.  Just to be clear, I wasn't  
referring to the accuracy of calculations when I compared the sqlite  
date/time formatting capabilites to the lack of similar functionality  
for currency, just the fact that there is a precedent for sqlite  
providing output formatting capability for some types of data.

Just to be sure I get my calculations correct, the suggestion is that  
all currency amounts should be stored in the database as whole numbers  
in fields of type INTEGER.  Calculations would be done using the whole  
numbers and I'll need some routines to convert between the database  
format and the display format.  Do I have that right?

Pete Haworth








_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to