Skip to content

Commit

Permalink
Additional check for convert to double (#10224)
Browse files Browse the repository at this point in the history
Signed-off-by: Hans-Dietert Loew <[email protected]>
  • Loading branch information
Piwoxar authored Feb 28, 2021
1 parent 3f9f3f2 commit 583509e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public Void parse(TclScriptDataList resultList) throws IOException {
if (dp.isIntegerType()) {
dp.setMinValue(toInteger(entry.minValue));
dp.setMaxValue(toInteger(entry.maxValue));
} else {
} else if (dp.isFloatType()) {
dp.setMinValue(toDouble(entry.minValue));
dp.setMaxValue(toDouble(entry.maxValue));
}
Expand Down

0 comments on commit 583509e

Please sign in to comment.