Greg Ewing wrote:
>So what you're really asking for is an option for
>suppressing trailing zeroes after a decimal point
>(and replacing them with spaces).
>That makes sense, although I think calling it
>"decimal align" would be confusing. It confused
>me, because I was thinking of what this means
Rudy Rudolph wrote:
> Calling it "decimal align" is just as
> valid as your "right align" and "left align".
But "decimal align" raises the question "align with
*what*?" The answer to that is far less obvious than
it is with "left" and "right", IMO.
Also, the output of %f is *alread* "decimal ali
Rudy Rudolph wrote:
> Center- and decimal-align nicely round out the left-align,
> right-align, and pad-after-sign formatting already proposed,
> and are easy to implement. I therefore ask that they be added
> to the PEP. BTW, I very much like the proposal in the PEP.
The basic idea of a decimal a