Message 122012 - Python tracker (original) (raw)

I agree that: format(Decimal('1.23'), '#.6g') should give '1.23000', just as: format(1.23, '#.6g') does.

I'll work on fixing the patch, although if I don't get to it in the next few days I'll commit the existing patch and open another issue, just to make sure this gets in before the beta.