Here you can find the source of formatMoneyVI(String money)
public static String formatMoneyVI(String money)
//package com.java2s; public class Main { public static String formatMoneyVI(String money) { try {// w w w . j av a2 s . c o m java.text.DecimalFormat df = new java.text.DecimalFormat("#,##0.00"); return df.format(Double.parseDouble(money)); } catch (NumberFormatException e) { } return null; } }