RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IBUtils.Min Function

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

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

Call Min to compare two numeric values in Delphi. Min returns the smaller value of the two. 

 

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