The decimal module is a built-in Python library that provides support for arbitrary-precision decimal arithmetic. This can be useful if you need to perform calculations with a high degree of precision, or if you need to avoid the rounding errors that can occur with the built-in float data type.
Dr. Shahriar Hossain and Dr. Monika Akbar
https://computing4all.com