Commit Graph
3 Commits
Author SHA1 Message Date
Cédric Krier 1b5224feb4 Fix Float for Python < 2.6 and handle extra methods on Decimal
(transplanted from 945974a3965a75eb7301405e484470f6f2d74e5f)
2010-06-07 21:27:49 +02:00
Cédric Krier 29204b0851 Extend Float to work with Decimal for issue1575 thanks to gadaga
(transplanted from 15c673a1072da72939845e792ec9869aba9773a7)
2010-06-06 11:30:33 +02:00
Cédric Krier 0415e46c73 Don't allow to use float in Numeric fields
The goal is to prevent to introduce float errors in Numeric fields.
There is a trick for external protocols like XML-RPC and JSON-RPC where the
string representation is stored in the Float object and will be used to
convert it into Decimal.
2010-03-12 17:41:07 +01:00