function Min(A,B: Integer): Integer; overload;
function Min(A,B: Int64): Int64; overload;
function Min(A,B: Single): Single; overload;
function Min(A,B: Double): Double; overload;
function Min(A,B: Extended): Extended; overload;
Description
Call Min to compare two numeric values. Min returns the smaller value of the two.
Returns the greater of two numeric values.
Unit
Math
Category
Arithmetic routines
function Max(A,B: Integer): Integer; overload;
function Max(A,B: Int64): Int64; overload;
function Max(A,B: Single): Single; overload;
function Max(A,B: Double): Double; overload;
function Max(A,B: Extended): Extended; overload;
Description
Call Max to compare two numeric values. Max returns the greater value of the two.