Additional check for convert to double ()

Signed-off-by: Hans-Dietert Loew <hdloew@googlemail.com>
This commit is contained in:
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

@ -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));
}