[docs] [issue21929] Rounding properly

Raymond Hettinger report at bugs.python.org
Tue Jul 8 06:47:43 CEST 2014


Raymond Hettinger added the comment:

FWIW, the FAQ in the decimal docs shows how to round Decimal objects using the quantize() method:  https://docs.python.org/2.7/library/decimal.html#decimal-faq

Unfortunately, only it Python 3 does the one-obvious-way-to-do-it work.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21929>
_______________________________________


More information about the docs mailing list