Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In java how do I print out a "table" of numbers with all of the decimal points lined up, ie i.e. fixed length fields with a fixed number of digits after the decimal point. I have played around with DecimalFormat but I can't get leading blanks, only leading zeros.

...