I've not tried it, but this may help from the book:
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Record-representation

"Decimal requires and returns values as Decimal objects, as defined in the 
Python decimal module. SQLite does not handle the decimal type so 
internally we treat it as a double. The (n,m) are the number of digits in 
total and the number of digits after the decimal point respectively."

This is the related Python doc:
http://docs.python.org/2/library/decimal.html

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to