-
-
Notifications
You must be signed in to change notification settings - Fork 17
Configuration Item Decimal
Sébastien Gallou edited this page Apr 18, 2017
·
2 revisions
This type describe a decimal data like 5.3. Decimal separator can be a "." or a ",".

This field define the type as decimal
"type" : "decimal"The defaultValue field permit to set the default value of the parameter it must be set between min and max allowed value if defined. If not set the default value is 0.0 rounded by max and min values.
"defaultValue" : "5.2"It define the min and max values that can be setted in the parameter.
"maximumValue" : "17.8",
"minimumValue" : "0"It define the precision of the decimal number. The value correspond to the number of digits after the decimal separator.
"precision" : "2""CurrentCoefficient" : {
"type" : "decimal",
"name" : "correction coefficient",
"description" : "Set a correction coefficient to adjust the value",
"defaultValue" : "0.0",
"maximumValue" : "1.0",
"minimumValue" : "-1.0",
"precision" : "2"
}
Yadoms -- The ultimate house automation solution