This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients mark.dickinson, parmax
Date 2010-01-04.08:58:27
SpamBayes Score 0.0038449718
Marked as misclassified No
Message-id <1262595509.91.0.0451679362115.issue7630@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-01-04 08:58:30mark.dickinsonsetrecipients: + mark.dickinson, parmax
2010-01-04 08:58:29mark.dickinsonsetmessageid: <1262595509.91.0.0451679362115.issue7630@psf.upfronthosting.co.za>
2010-01-04 08:58:28mark.dickinsonlinkissue7630 messages
2010-01-04 08:58:27mark.dickinsoncreate