---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: [Extend, PMD Scripting, Scripts]
nav: wcp_docs
parent_url: /wcp_docs/
title: max (number1, numberN)
layout: subsection
---

## <a id="section_m3p_myb_5db"></a>Description

Returns the maximum number among the multiple input numbers.

## <a id="section_cyq_j1m_zsb"></a>Return Type

`Integer` or `Decimal`, depending on the type of the maximum number.

## <a id="section_dz5_pwg_5db"></a>Namespace Function Syntax

```
number:max(number1, numberN)
```

<table><thead><tr><th>Parameter</th><th>Description</th></tr></thead><tbody><tr><td>number1, numberN</td><td>A comma-delimited variable set of numbers to compare.</td></tr></tbody></table><br/>

<b>Example</b>

`number:max(-1, 442.3, 4.56)`

Returns `442.3`

