org.xdat.data
public class NumberParser extends java.lang.Object
Constructor and Description |
---|
NumberParser() |
Modifier and Type | Method and Description |
---|---|
static float |
parseNumber(java.lang.String string)
Addresses issues with the standard parsing method of NumberFormat by
verifying the parse position after parsing to ensure that all the input
was parsed.
|
public static float parseNumber(java.lang.String string) throws java.text.ParseException
string
- the string to be parsedjava.text.ParseException
- the parse exception