Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
See r87856
--
resolution: - accepted
status: open - closed
type: - feature request
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10813
___
Carsten Grohmann carstengrohm...@gmx.de added the comment:
Setting dp to an empty string is only a workaround from my perspective.
I get the value of the places parameter from a configuration instance and have
to implement an additional check places == 0 every time I call the original
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I think I prefer the code as-is. If you need to blank out the decimal point,
set dp to the empty string.
--
___
Python tracker rep...@bugs.python.org
New submission from Carsten Grohmann carstengrohm...@gmx.de:
Hi,
the documentation of the decimal module contains a small recipe called
moneyfmt() for format decimal values. It's very usefull.
I'd like to suggest a small improvement because the output is incorrect with
given dp=. (default)
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: d...@python - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10813
___