[New-bugs-announce] [issue2648] decimal receipe moneyfmt suppress leading 0
Carsten Grohmann
report at bugs.python.org
Thu Apr 17 11:47:55 CEST 2008
New submission from Carsten Grohmann <cgrohmann at users.sourceforge.net>:
The current version of the receipe moneyfmt doesn't have a leading "0"
for 1 < value < -1.
The attached patch adds a new parameter "zero". The parameter is empty
per default and can set to "0" print a leading "0". The examples are
updated also.
Possibly the new option should be "0" per default.
Regards,
Carsten
----------
assignee: georg.brandl
components: Documentation
files: moneyfmt.diff
keywords: patch
messages: 65581
nosy: cgrohmann, georg.brandl
severity: normal
status: open
title: decimal receipe moneyfmt suppress leading 0
versions: Python 2.5
Added file: http://bugs.python.org/file10046/moneyfmt.diff
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2648>
__________________________________
More information about the New-bugs-announce
mailing list