/** * <p>Converts given text numeral to an integer in smart mode. </p> * * @param numeral text numeral to be evaluated as number * @return integer * @throws IllegalArgumentException if given number has wrong format * @throws ArithmeticException if int-range overflows * @since 3.11/4.8 */ /*[deutsch] * <p>Konvertiert das angegebene Numeral zu einer Ganzzahl im SMART-Modus. </p> * * @param numeral text numeral to be evaluated as number * @return integer * @throws IllegalArgumentException if given number has wrong format * @throws ArithmeticException if int-range overflows * @since 3.11/4.8 */ public final int toInteger(String numeral) { return this.toInteger(numeral, Leniency.SMART); }