diff --git a/source/_docs/blueprint/selectors.markdown b/source/_docs/blueprint/selectors.markdown index ca4ed195ee7..9e0845f720d 100644 --- a/source/_docs/blueprint/selectors.markdown +++ b/source/_docs/blueprint/selectors.markdown @@ -1085,10 +1085,17 @@ mode: type: string required: false default: slider +as_int: + description: Force the resulting number into an integer. + type: bool + required: false {% endconfiguration %} The output of this selector is a number, for example: `42` +Please note that the user input is never rounded, regardless of the step, +and will always return a float unless `as_int` is set to `True`. + ### Example number selectors An example number selector that allows a user a percentage, directly in a