# Max

### **Description**‌

The Max function returns the greater of a and b.

### **Syntax**

‌The syntax for the Max function is:

`Max(a, b)`

#### ‌**Parameters**

a - the first value to compare

b - the second value to compare

### **Returns**

‌The Max function returns a numeric value.

### **Example**‌

Let's look at some Max function examples and explore how to use the Max function.‌

```
Max(1, 2)
Result: 2
```


---

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