Here you can find the source of getIntegerNumberFormat()
public static NumberFormat getIntegerNumberFormat()
//package com.java2s; //License from project: Open Source License import java.text.NumberFormat; public class Main { public static NumberFormat getIntegerNumberFormat() { NumberFormat nf = NumberFormat.getIntegerInstance(); nf.setGroupingUsed(false);/*w w w. java2 s . c o m*/ return nf; } }