Search:

Type: Posts; User: maple1100

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    1,031

    Re: Java using printf to format.

    Yes, I got it now. Thank you for your help! Happy New Year :D
  2. Replies
    6
    Views
    1,031

    Re: Java using printf to format.

    Something like this?


    System.out.print(" ");
    for(String monthOf : month)
    {
    System.out.printf("%6s",monthOf);
    }
  3. Replies
    6
    Views
    1,031

    Re: Java using printf to format.

    **********S(Jan)***S(Feb)***S(Mar)***S(Apr)***S(May)

    ^ Like that until Dec but disregard the ()

    The picture should give a clearer explaination.
  4. Replies
    6
    Views
    1,031

    Java using printf to format.

    Is it possible to print out the months like the picture below with that little space infront of January with printf? If I put "%10s" it will also make the months space far apart, I want before...
Results 1 to 4 of 4