On 13 nov, 02:22, mdipierro <[email protected]> wrote:
> There are two issues:
> - decimal would have to be supported but all backends to work properly
SQLite might be only one that does not support it.
IMO the position should be: if you need decimal you will have to use
something other than SQLite.

> - decimal is not supported by Python. If you retrieve a value from the
> db it would be converted to float and then you insert it in the db,
> you get a different value, unless you use the decimal class to
> represent it.
Of course it does, since 2.4.
from decimal import *

>
> Is this much complication really worth the trouble?
Yes, mainly for financial info but it has other uses too.


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

Reply via email to