private String toLocalInteger(Object valueObj){
  if (valueObj instanceof Integer) {
    return toLocalNumber((Integer)valueObj);
  }
 else {
    String value=valueObj.toString();
    try {
      value=toLocalNumber(Integer.parseInt(value));
    }
 catch (    NumberFormatException ex) {
    }
    return value;
  }
}

private String toLocalInteger ( Object valueObj ) { if ( valueObj instanceof Integer ) { return toLocalNumber ( ( Integer ) valueObj ) ; } else { String value = valueObj . toString ( ) ; try { value = toLocalNumber ( Integer . parseInt ( value ) ) ; } catch ( NumberFormatException ex ) { } return value ; } }
converts the given integer ( given as string or integer object ) to a localized string version .
