Generates a bounded decimal or inclusive integer. An optional Seed makes the output reproducible.
Inputs and fields
- Minimum (number, optional; default
0). - Maximum (number, optional; default
1). - Seed (text, optional): Up to 256 characters. The same configuration and seed return the same value.
Connected inputs override fields.
Toggle: Output type
- Decimal: Returns a value from Minimum up to, but normally below, Maximum. Equal bounds return that bound.
- Integer: Uses inclusive safe-integer bounds.
Output
- Result (number): Generated finite value.
Common uses
Choose test samples, assign variants, randomize delays, select positions, or reproduce deterministic test data.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
minimum | Minimum | number | 0 | step any |
maximum | Maximum | number | 1 | step any |
seed | Seed (optional) | text | Empty text | — |
mode | Output type | toggle | decimal | options: Decimal (decimal), Integer (inclusive bounds) (integer) |
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
Reversed bounds, non-integer integer bounds, oversized ranges or seeds, unsupported modes, and non-finite inputs fail explicitly. This block is not a cryptographic random generator.
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | minimum — Minimum | number | no |
| Input | maximum — Maximum | number | no |
| Input | seed — Seed | text | no |
| Output | result — Result | number | on success |
