Additional check for convert to double (#10224)
Signed-off-by: Hans-Dietert Loew <hdloew@googlemail.com>pull/10262/head
parent
3f9f3f25f6
commit
583509e49d
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue