ID EN
Decimal

ExtendedContext

Python 3.11

This is a standard context defined by the General Decimal Arithmetic Specification. Precision is set to nine. Rounding is set to ROUND_HALF_EVEN. All flags are cleared. No traps are enabled (so that exceptions are not raised during computations).

Syntax

PYTHON
class decimal.ExtendedContext

See Also

ROUND_HALF_EVEN