Purpose
Returns the larger of two numbers. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
Maximum( num_expr, num_expr )
num_expr is a numeric expression.
Return Value
Float
Description
The Maximum() function returns the larger of two numeric expressions.
Example
Dim x, y, z As Float
x = 42
y = 27
z = Maximum(x, y)
z now contains the value 42.
See Also:
Minimum() function