John Shaffer wrote: > I see you're using a recent trunk checkout. Why not use models.DecimalField, > newforms.DecimalField, and the Python decimal module? They will accurately > handle your data with much less effort.
As long as i can be sure that it will never fall back to some sort of float representation incurring precision loss - that would work fine. Reading the django source code, it seems pgsql and sqlite (which we use in our environments) are both safe. Both uses NUMERIC which as far as I can see should be arbitrary precision. However, the sqlite manual is a little onclear on that issue. I'll go with the DecimalField. Thank you, -- Christian Joergensen | Linux, programming or web consultancy http://www.razor.dk | Visit us at: http://www.gmta.info
signature.asc
Description: OpenPGP digital signature