System.out.printf(currForm.format(monthPay) + " ");
I am trying to figure out how to format this code so that it aligns with the header which is outside this output.
image of what the code appears as:
Basically the user controls the all the inputs, so I am trying to do my best to accommodate 3 and 4 digit monthly payment amounts and their spacing. As you can see, the column allignment gets progressively more misaligned from the header as we get into the more right columns. I also did use "\t" but a difference between the 3 and 4 digit monthly payments makes major alignment issues.
Thanks!