code: public static final Function<String,Integer> toInteger(final RoundingMode roundingMode, final Locale locale) {
          return new ToInteger(roundingMode, locale);
      }
docs: <p>
  Converts a String into an Integer, using the specified locale for determining
  decimal point. Rounding mode is used for removing the
  decimal part of the number. The integer part of the input string must be between
  {@link Integer#MIN_VALUE} and {@link Integer#MAX_VALUE}
  </p>
  
  @param roundingMode the rounding mode to be used when setting the scale
  @param locale the locale defining the way in which the number was written
  @return the resulting Integer object