Rand¶
| Spice | |
|---|---|
Functions¶
randInt¶
| Spice | |
|---|---|
Generates a random integer between min and max Note: Both min and max are inclusive: [min, max] Note: If min > max, the function always returns max
Parameters
| Name | Type | Description |
|---|---|---|
min |
int |
|
max |
int |
Returns: int — Random number