append and double error?
Hello. After converting my program to display in a text area. It works fine if I comment out the line that is supposed to give me the total inventory value. If I leave it in, I get the error:
append(java.lang.String) in javax.swing.JTextArea cannot be applied to (java.lang.String,double)
ta.append("Total value of all inventory = $%.2f", Product.getTotalValueOfAllInventory(inventory));
Do I need to change the double references in all three classes to int or? I appreciate any light anyone can shine on this. Even a link of where to look at how double and append may interact. Thanks

