mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
ConfigDescriptionParameter: Document step size value 0 to allow any step size (#4425)
Refs https://github.com/openhab/openhab-webui/pull/2832. Signed-off-by: Florian Hotze <dev@florianhotze.com>
This commit is contained in:
+4
@@ -265,6 +265,10 @@ public class ConfigDescriptionParameter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the value granularity for a numeric value.
|
||||
* <p>
|
||||
* By setting the step size to <code>0</code>, any granularity is allowed, i.e. any number of decimals is accepted.
|
||||
*
|
||||
* @return the value granularity for a numeric value (nullable)
|
||||
*/
|
||||
public BigDecimal getStepSize() {
|
||||
|
||||
Reference in New Issue
Block a user