In my code there are some calls to a method that set the values of some JTextFields
fields[7].setText(String.valueOf(inv.get(currentDisplay).feeValue()));
This works and it is doing what I want but the values look like this 81.65849999999999
How would I make the output of String.valueOf look like the normal output of
System.out.printf( "$%,.2f", getDollarAmount() )