[Tutor] string formatting and right justifying text

Timothy Wilson wilson@visi.com
Sun, 9 Dec 2001 19:30:14 -0600 (CST)


Hi everyone,

I'm working on the next project for my students and I'd like to have them
print a table of stock prices, number of shares, etc. I can't figure out the
string formatting codes to right-justify integers or floating point numbers
so I can make the table look right. Any pointers?

-Tim

--
Tim Wilson      |   Visit Sibley online:   | Check out:
Henry Sibley HS |  http://www.isd197.org   | http://www.zope.com
W. St. Paul, MN |                          | http://slashdot.org
wilson@visi.com |  <dtml-var pithy_quote>  | http://linux.com