# Max()

Returns the greater of two numbers.

```
Max( number1=number, number2=number );
```

**Returns:** number

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| number1 | number | Yes | first number |  |
| number2 | number | Yes | second number |  |

# Examples

```cfml
echo( max( 45.94, 34.05 ) ); // outputs 45.94
```







# Categories

[Numbers](../../categories/number.md)

# See Also

[Min()](min.md), [numeric.max()](../objects/numeric/max.md), [Operators](../../guides/developing-with-lucee-server/operators.md)