public static String format(Integer i){
  if (i == null)   return null;
  return i.toString();
}

public static String format ( Integer i ) { if ( i == null ) return null ; return i . toString ( ) ; }
formats the given integer in the format required by a numeric field .
