# random(low,high)

## Description

Random() returns a randomly generated value between two points. This function is not cryptographically secure

## Parameters

Random() can be run with no parameters if you want to generate a random number between 0 and 1, or you can give it the low and high bounds for the random number you cant to generate.

## Usage

```javascript
log random()
// 0.3031749628253999

log random(1,10)
// 4
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://osl.mistium.com/functions/math/random.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
