float data=2351.53f; DecimalFormat df = new DecimalFormat("#,###.00"); String format = df.format(data);