This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients eric.smith, mark.dickinson, rhettinger
Date 2009-04-17.18:33:14
SpamBayes Score 1.5443692e-09
Marked as misclassified No
Message-id <1239993196.17.0.915079550243.issue5782@psf.upfronthosting.co.za>
In-reply-to
Content
Sounds good to me, too.

It looks as though the Decimal type already does this:

Python 3.1a2+ (py3k:71669:71684M, Apr 17 2009, 19:23:53) 
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from decimal import Decimal
>>> format(Decimal('1.2'), '010.2')
'00000001.2'
>>> format(Decimal('1.2'), '010,.2')
'0,000,001.2'
History
Date User Action Args
2009-04-17 18:33:16mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, eric.smith
2009-04-17 18:33:16mark.dickinsonsetmessageid: <1239993196.17.0.915079550243.issue5782@psf.upfronthosting.co.za>
2009-04-17 18:33:14mark.dickinsonlinkissue5782 messages
2009-04-17 18:33:14mark.dickinsoncreate