Michael,

Michael Bayer wrote:
> ...
> if i understand the Decimal class correctly the trailing zeroes should not
> matter ...they indicate the stored precision but otherwise this is just a
> string formatting issue.  heres an example of a monetary formatter for
> Decimal:
>
> http://docs.python.org/lib/decimal-recipes.html
>   
Very useful link, thanks.

Would using "Creating your Own Types", i.e. similar to the Unicode 
example in the doc be the right way to deal with this in the model?

Werner

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

Reply via email to