Message97196
You don't say what behaviour you were expecting! :)
By design, almost all Decimal operations (but not creation of a Decimal from an integer or string) round to the precision given by the current context. By default that precision is 28 significant digits. See the documentation, particularly the quick-start tutorial,
http://docs.python.org/library/decimal.html#quick-start-tutorial
for more information, including how to change the default precision. |
|
Date |
User |
Action |
Args |
2010-01-04 08:58:30 | mark.dickinson | set | recipients:
+ mark.dickinson, parmax |
2010-01-04 08:58:29 | mark.dickinson | set | messageid: <1262595509.91.0.0451679362115.issue7630@psf.upfronthosting.co.za> |
2010-01-04 08:58:28 | mark.dickinson | link | issue7630 messages |
2010-01-04 08:58:27 | mark.dickinson | create | |
|