Skip to content

Commit

Permalink
ConfigDescriptionParameter: Document step size value 0 to allow any s…
Browse files Browse the repository at this point in the history
…tep size

Refs openhab/openhab-webui#2832.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
  • Loading branch information
florian-h05 committed Oct 26, 2024
1 parent 63788b0 commit e6fd935
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ public BigDecimal getMaximum() {
}

/**
* 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() {
Expand Down

0 comments on commit e6fd935

Please sign in to comment.