May 2018
Intermediate to advanced
380 pages
9h 37m
English
Python's built-in decimal module provides improved support for fast, precise floating point calculations. Normal float types are based on binary objects; decimal floats are completely different. Specifically, it improves on the normal float type by doing the following:

Ensuring the exactness of decimal values is carried through calculations, preventing rounding errors from compounding.