# float MAX(float, float)

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
float MAX(float, float)
```

## Description

Returns the larger of the two values.

## Parameters and return type

**Return type:** `float`

| Position | Type |
| --- | --- |
| 1 | `float` |
| 2 | `float` |

## Other overloads

Check the exact signature. A description of one overload does not automatically document the others.

- [`int MAX(int, int)`](/imperivm/en/CKS/reference/api-2327dbfceb531a/)

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-c70c0ca220144a.md)
- [JSON](/imperivm/CKS/api/entries/api-c70c0ca220144a?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
