NumberFormat dollarFormat = NumberFormat.getCurrencyInstance(Locale.ENGLISH);
double minimumWage = 5.15;
System.out.println("The minimum wage is "
+ dollarFormat.format(minimumWage));
System.out.println("A worker earning minimum wage and working for forty");
System.out.println("hours a week, 52 weeks a year, would earn "
+ dollarFormat.format(40*52*minimumWage));