# rand proc

Source: https://ref.dm-lang.org/proc/rand

### Format
> `rand(L=0,H) or rand()`

### Returns
> A random integer between L and H inclusive; or a random number from 0 up to 1 if L and H are omitted.

### Args
- `L`: A number for the lower-bound.
- `H`: A number for the upper-bound.


### See also
- [pick proc](https://ref.dm-lang.org/proc/pick.md)
- [prob proc](https://ref.dm-lang.org/proc/prob.md)
- [rand_seed proc](https://ref.dm-lang.org/proc/rand_seed.md)
- [roll proc](https://ref.dm-lang.org/proc/roll.md)
