Max()

Returns the greater of two numbers.

Max( number1=number, number2=number );

Returns: Number

Argument Description
number1
number, required

first number

number2
number, required

second number

Examples

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

See also