RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IBUtils.Max Function

Returns the greater of two numeric values (Delphi only).

Pascal
function Max(n1: Integer; n2: Integer): Integer;
C++
int Max(int n1, int n2);

In Delphi, call Max to compare two numeric values. Max returns the greater value of the two. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!