i4w_randint
Usage
This shortcode returns a random integer.
[ELSE_randint] conditional branching is NOT supported.
Shortcode nesting is NOT supported.
Parameters
| Parameter | Description | Default | Required |
|---|---|---|---|
| min | The minimum value of the random integer. | 0 | No |
| max | The maximum value of the random integer. | PHP_INT_MAX | No |
Example
Shortcode
[i4w_randint min='1' max='10']
Shortcode
[i4w_randint min='10']
Shortcode
[i4w_randint max='1000']