public static String formatInteger(int number){
  return intFormat.format(number);
}

public static String formatInteger ( int number ) { return intFormat . format ( number ) ; }
formats an integer value . for example : input = 1234567 / output = 1 , 234 , 567 .
