# LIST_STAT_MAX

*LSL constant*

```lsl
integer LIST_STAT_MAX = 2;
```

Option used with llListStatistics to find the largest number in the list.

Constant groups: [ListStatisticsOperation](/constants/groups/ListStatisticsOperation/)

Retrieves the largest number in the list.

## Examples

<details open>
<summary>Example 1</summary>

```lsl
float max = llListStatistics( LIST_STAT_MAX, numList );
```

</details>

## See also

### Functions

- [llListStatistics](/functions/llListStatistics/)

---

*Source: [LIST STAT MAX](https://wiki.secondlife.com/wiki/LIST_STAT_MAX) on the Second Life Wiki. Content from the Second Life Wiki article LIST STAT MAX (revision 1194660, 2015-01-23), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/LIST_STAT_MAX/
