Additional check for convert to double (#10224)

Signed-off-by: Hans-Dietert Loew <hdloew@googlemail.com>
pull/10262/head
Piwoxar 2021-02-28 21:27:53 +01:00 committed by GitHub
parent 3f9f3f25f6
commit 583509e49d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class CcuVariablesAndScriptsParser extends CommonRpcParser<TclScriptDataL
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));
}