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 facundobatista, jyasskin, mark.dickinson
Date 2007-12-14.12:13:22
SpamBayes Score 0.27074468
Marked as misclassified No
Message-id <1197634402.39.0.473991912252.issue1623@psf.upfronthosting.co.za>
In-reply-to
Content
I think you probably don't want to use quantize here:  it makes use of 
the current context, which means (for example) that 

trunc(Decimal(integer_with_30_digits)) 

will fail with an InvalidOperation exception.  I assume what's wanted is 
something that operates purely on Decimals and is unaffected by the 
context.  Is this true?
History
Date User Action Args
2007-12-14 12:13:22mark.dickinsonsetspambayes_score: 0.270745 -> 0.27074468
recipients: + mark.dickinson, facundobatista, jyasskin
2007-12-14 12:13:22mark.dickinsonsetspambayes_score: 0.270745 -> 0.270745
messageid: <1197634402.39.0.473991912252.issue1623@psf.upfronthosting.co.za>
2007-12-14 12:13:22mark.dickinsonlinkissue1623 messages
2007-12-14 12:13:22mark.dickinsoncreate