I know how to print using the printf method, but can't for the life of me get it to round to two decimal places using a dialog box.
import javax.swing.JOptionPane;
public class Program6 {
...
Type: Posts; User: JohnEliot
I know how to print using the printf method, but can't for the life of me get it to round to two decimal places using a dialog box.
import javax.swing.JOptionPane;
public class Program6 {
...