R. David Murray added the comment:
You appear to be mixing up % style formatting and 'format' style formatting,
especially since you seem to be using both in your examples, which is redundant.
Please see http://docs.python.org/2.7/library/string.html#format-string-syntax
for the explanation of
New submission from Martin Mokrejs:
Hi,
I don't know if this is related to issue8040 or not. I find the 2.7 string
formatting behavior inconsistent. I found out sometimes I have to divide my
number by 100 so that the percentage values get printed correctly. Somehow,
when a percent sign appea