I am trying to print a variable:
DecimalFormat a = new DecimalFormat("###.00");
Formatter fmt = new Formatter();
System.out.printf("\tText $" + "\t\t" + a.format(totalText));
I want to put a formatter in it too so that the printed number right justifies.
Is there maybe a better way to do it.?