On 5/22/05, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
> Some of the private email I've received indicates a need for a decimal
> FAQ that would shorten the module's learning curve.
Nice FAQ, but where we should put it? It's kinda for advanced Decimal users...
> A. Some users prefer to abbre
> Q. I'm writing a fixed-point application to two decimal places.
> Some inputs have many places and needed to be rounded. Others
> are not supposed to have excess digits and need to be validated.
> What methods should I use?
>
> A. The quantize() method rounds to a fixed number of decimal
> pl
Some of the private email I've received indicates a need for a decimal
FAQ that would shorten the module's learning curve.
A discussion draft follows.
Raymond
---
Q. It is cumbersome to type decimal.Decimal('1234.5'). Is there a way
to
mi