DecimalFormat digit long code example
Example: java decimalformat
String pattern = "###,###.###";
DecimalFormat decimalFormat = new DecimalFormat(pattern);
String pattern = "###,###.###";
DecimalFormat decimalFormat = new DecimalFormat(pattern);