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:
Florian Hotze 2024-10-26 20:36:03 +02:00 committed by GitHub
parent ae1f763b62
commit 4125f3d87b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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() {