public class NumberUtils
extends java.lang.Object
| Constructor and Description |
|---|
NumberUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Double |
createDouble(java.lang.String value) |
static int |
createInteger(java.lang.String value,
int failureInteger)
Convert a String to an Integer
|
static int |
createInteger(java.lang.String value,
java.lang.String exceptionMessage) |
public static final int createInteger(java.lang.String value,
int failureInteger)
value - - the text value to convert to an integerfailureInteger - - if the conversion fails then return this integer.public static final int createInteger(java.lang.String value,
java.lang.String exceptionMessage)
public static final java.lang.Double createDouble(java.lang.String value)