Here you can find the source of getDecimalFormat()
public static DecimalFormat getDecimalFormat()
//package com.java2s; //License from project: Open Source License import java.text.DecimalFormat; public class Main { private static final DecimalFormat mDecFmt = new DecimalFormat("###,###,###,###.##"); public static DecimalFormat getDecimalFormat() { return mDecFmt; }/*from w w w . j a va2 s . c o m*/ }