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...
Type: Posts; User: Tsarin
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...
In between numbers you will be printing a " ", have a look what happens if you print a "\t" instead
Have a look at what "\t" does in a String(or System.out)