We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a468d1 commit aba82d9Copy full SHA for aba82d9
src/main/java/org/json/NumberConversionUtil.java
@@ -90,7 +90,7 @@ static Number stringToNumber(final String input) throws NumberFormatException {
90
* @return true if the character is a numeric digit, false otherwise.
91
*/
92
private static boolean isNumericChar(char c) {
93
- return (c >= '0' && c <= '9');
+ return (c <= '9' && c >= '0');
94
}
95
96
/**
0 commit comments