Search:

Type: Posts; User: Tsarin

Search: Search took 0.18 seconds.

  1. Replies
    5
    Views
    1,102

    Re: How do you align?

    The most simple way would be to have a set number of spaces between each number. remove spaces based on the number of characters (e.g. 27 is 2).

    Otherwise you can use the Formatter class, there is...
  2. Replies
    5
    Views
    1,102

    Re: How do you align?

    In between numbers you will be printing a " ", have a look what happens if you print a "\t" instead
  3. Replies
    5
    Views
    1,102

    Re: How do you align?

    Have a look at what "\t" does in a String(or System.out)
Results 1 to 3 of 3