Here you can find the source of getNumberFormat()
public static NumberFormat getNumberFormat()
//package com.java2s; //License from project: Creative Commons License import java.text.NumberFormat; import java.util.Locale; public class Main { private static final NumberFormat numberFormat = NumberFormat.getInstance(Locale.ENGLISH); public static NumberFormat getNumberFormat() { return numberFormat; }//from w w w.j av a 2 s . co m }