it will reserve the 25 space for your number.
example:
print '%25.2f' % (1.222,)
It will use 25 space and 2 digit of your 1.222
result is:
result is:
1.22
cheers,
pujo
On 10/24/05, Shi Mu <[EMAIL PROTECTED]> wrote:
what does %25f mean?
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor