On 11/30/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>
> Victor Ng wrote:
>
>  > If you're dealing with money at all - you absolutely cannot use float,
>  > you *must* use fixed decimal types or you risk getting into all kinds
>  > of really terrible rounding errors.
>
> that might be true for the US deficit, but for more normal money
> amounts, that's not really true at all.

Basic currency conversion for Euro would require 5 decimal places of
precision with no rounding involved:
http://europa.eu.int/ISPO/y2keuro/docs/ep22-en.pdf

Really, float isn't the answer for anything relating to money - normal
or otherwise.

vic

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to