ID EN
Decimal

canonical

Python 3.11

Return the canonical encoding of the argument. Currently, the encoding of a Decimal instance is always canonical, so this operation returns its argument unchanged.

Syntax

PYTHON
canonical()

See Also

Decimal