Parses the string argument as a signed decimal integer. The
characters in the string must all be decimal digits, except
that the first character may be an ASCII minus sign '-'
( '\u002D') to indicate a negative value or an
ASCII plus sign '+' ( '\u002B') to
indicate a positive value. The resulting integer value is
returned, exactly as if the argument and the radix 10 were
given as arguments to the parseInt(java.lang.String,
int) method.
s | a String containing the int
representation to be parsed |
NumberFormatException | if the string does not contain a parsable integer. |
Diagram: Number