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 <hdloew@googlemail.com>
  • Loading branch information
Piwoxar authored Feb 28, 2021
1 parent c9dbe63 commit df2b04a
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 df2b04a

Please sign in to comment.