public class NumberUtil
extends java.lang.Object
Constructor and Description |
---|
NumberUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
toInt(java.lang.String num,
int defVal)
Parses the number to an int, or returns the default value if it cannot be parsed as int
|