Decimal() the decimal module the aforementioned section of the docs decimal http://docs.python.org/2/library/decimal.html decimal.Decimal decimal https://docs.python.org/2/library/decimal.html decimal Python docs Python's implementation Decimal https://docs.python.org/2/library/decimal.html docs.python.org/2/library/decimal.html Python docs Python's implementation decimal module's localcontext() manager decimal docs decimal decimal module decimal decimal decimal decimal decimal Decimal instances can be constructed directly from floats http://docs.python.org/2/library/decimal.html This Decimal decimal decimal https://docs.python.org/2/library/decimal.html Decimal FAQ http://docs.python.org/2/library/decimal.html