Update selectors.markdown

This commit is contained in:
epenet 2024-11-12 09:41:44 +01:00 committed by GitHub
parent f0bdfc0b92
commit 17b534ef89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1091,7 +1091,7 @@ The output of this selector is a number, for example: `42.59`
Please note that:
- if the step is a `float` (eg. `step=0.1` or `step=1.0`) the user input is never rounded.
- if the step is an `integer` (eg. `step=1`) passing a number with decimal precision will be rejected (eg. `80.0` will converted to `80`, `80.1` will be rejected).
- if the step is an `integer` (eg. `step=1`) passing a number with decimal precision will be rejected (eg. `80.0` will converted to `80` and `80.1` will be rejected).
### Example number selectors <!-- omit from toc -->