> For the complete documentation index, see [llms.txt](https://dibs.gitbook.io/vortex-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dibs.gitbook.io/vortex-docs/standard-modules/random.md).

# Random

The 'random' module provides random number generator functions

### Function Signatures

{% code overflow="wrap" %}

```go
// Generates a random number.
const rand = () => Number

// Generates a random number within a specified range.
const rand_range = (start: Number, end: Number) => Number
```

{% endcode %}
