Not a member? Signup now
public String getAmmount() { double amount = Double.parseDouble(contributionAmount); DecimalFormat formatter = new DecimalFormat("#,###.00"); return formatter.format(amount); } /** Output **/ 9,517.07