New submission from Carsten Grohmann <[EMAIL PROTECTED]>:

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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2648>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to