public static Number parseNumber(String value, Locale... locales) throws NumberFormatException {
        return parseNumber(value, false, locales);
    }
public static Number parseNumber ( String value , Locale ... locales ) throws NumberFormatException { return parseNumber ( value , false , locales ) ; }
Convert a string value into a number.

@param value   the string value to convert
@param locales locales, against which the value is parsed
@return numeric value for the string
@throws NumberFormatException if the string is not a valid number