max()

Returns the greater of two int values.

Syntax

max(Numeric b)

Parameters

  • b - a Numeric argument.

Usage

The result is the argument closer to the value of Integer.MAX_VALUE. If the argument has the same value as the object's value the result is that same value.

See Also: Long.MAX_VALUE