The Number field captures numeric values. It supports integers, decimals, optional min/max bounds, and an optional Units selector for when a value can be entered in different units (e.g. grams vs. kilograms).
Conditional options
- Allow Decimals? (Required) — when off, only whole numbers are accepted; when on, the field accepts decimal values (number of decimal places is configurable in the specialfeature).
- Minimum Value — optional lower bound.
- Maximum Value — optional upper bound.
- Units — if you would like to offer multiple types of units to select from when inputting a value (i.e. mg, g, kg) then please enter them here — one per line. The user picks a unit from a dropdown alongside the number input; conversion to a canonical unit is up to your business logic.
Stored value
Decimals are stored in the database column as a DECIMAL or DOUBLE (depending on the configured precision). Min/Max constraints are validated client-side and server-side — both must pass for the row to save.