# array.max()

Returns the largest numeric value in an array. If the array
parameter value is an empty array, returns zero.
All elements must contain values that can be automatically
converted to numeric values.

```
array.max( )
```

**Returns:** number

*This function does not take any arguments.*

# Examples

```cfml
number = [10,20,30,40,50,60,70];
res = number.max();
writeDump(res);
number = [0.1,0.2,0.3,0.4,0.5,0.6,0.7];
res = number.max();
writeDump(res);
```

# Categories

[Arrays](../../../categories/array.md)

# See Also

[ArrayMax()](../../functions/arraymax.md), [Array](../array.md)