Python:decimal
lastmod 2023-01-05created 2023-01-053 edits
Decimal
To use fixed-point numbers without rounding errors, use Decimal from the decimal module. Decimal handles numbers in base 10 and represents an exact number of decimal places.
lastmod 2023-01-05created 2023-01-053 edits
To use fixed-point numbers without rounding errors, use Decimal from the decimal module. Decimal handles numbers in base 10 and represents an exact number of decimal places.