[Tutor] Asterisk

Scott Widney SWidney@ci.las-vegas.nv.us
Thu Dec 5 11:36:18 2002


> The 6 means 'place a total of six characters to the left of 
> the decimal point.'

Not quite. The 6 means allot a "minimum field width" of 6, including all of
the following: the integer portion of the number, the decimal point, the
fractional portion of the number, and any spaces needed to pad the remainder
of the field. See "2.2.6.2 String Formatting Operations" in the Python
Reference Manual
(http://www.python.org/doc/current/lib/typesseq-strings.html#l2h-148).


Scott