You have to apply the currency DecimalFormat object to the string you want to be formatted...
I can't remember exactly but it's something like:
JustinCode:DecimalFormat currency = new DecimalFormat("$#,###.00"); for (int i = 0 ;i < count; ++i) System.out.println(currency.Format(menu_items[i].toString())); }




Reply With Quote