It just depends if you want to keep Decimal accuracy, floating point numbers lose some accuracy, it's up to you. Technically speaking floats are a little faster.
> If the > later is true, where can I find the function that converts to the > Decimal type? It's in the standard library, from decimal import Decimal # Note that it takes a string a = Decimal('3.14') print a 3.14 b = 3.14 type(b) <type 'float'> # Note that you cast it to a string first c = Decimal(str(b)) print c 3.14 a == c True --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---