> For the complete documentation index, see [llms.txt](https://help.novacuraflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.novacuraflow.com/development/flowscript/functions/number-functions/random.md).

# Random

**Description**

The Random function returns a random number within a specified range, between the two arguments a and b.

**Syntax**

The syntax for the Random function is:

Random(a, b)

**Parameters**

a - The lower bound of the range (inclusive).

b - The upper bound of the range (inclusive).

**Returns**

The Random function returns a numeric value that falls within the range defined by parameters a and b.

**Example**

Let's look at a Random function example and explore how to use the Random function.

`Random(9, 90)`

This will generate a random number between 9 and 90. Note that the result is non-deterministic, meaning it can change with every function call. For instance, one call might return 23.547..., another might return 67,541..., and so on.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://help.novacuraflow.com/development/flowscript/functions/number-functions/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.
