bug fixed

This commit is contained in:
Luis Fernando Molina committed 2020-03-17 12:16:56 +01:00
1 parent e2a278c66e
commit 785804a301
1 file changed
+2 -1
+2 -1
View File
@@ -30,7 +30,8 @@ function dynamicDecimals (value) {
if (Math.trunc(value * 1000000) < 1) { decimals = 10 }
if (Math.trunc(value * 100000000) < 1) { decimals = 12 }
if (Math.trunc(value * 10000000000) < 1) { decimals = 0 }
return (value - Math.trunc(value)).toFixed(decimals)
let returnValue = Number(value).toFixed(decimals)
return returnValue
}
function savePropertyAtNodeConfig (payload, propertyName, value) {