We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cab916 commit eb580aaCopy full SHA for eb580aa
quickfixj-core/src/main/java/quickfix/field/converter/DoubleConverter.java
@@ -106,7 +106,7 @@ private static double parseDouble(String value) {
106
for (; i < value.length(); i++) {
107
c = value.charAt(i);
108
if (!dot && c == '.') dot = true;
109
- else if (!Character.isDigit(c)) throw new NumberFormatException(value);
+ else if (c < '0' || c > '9') throw new NumberFormatException(value);
110
}
111
return Double.parseDouble(value);
112
0 commit comments