Previous: LRotR function To the Table of Content Next: Min function

- 4.45.2.43 -
Standard Units
Math Unit
Math Unit Procedures and Functions

Max function

Targets: MS-DOS, OS/2, Win32


Math Unit

Returns the greater of two numeric values.

Declaration:
function Max(A, B: Longint): Longint;
function Max(A, B: Single): Single;
function Max(A, B: Double): Double;
function Max(A, B: Extended): Extended;
Remarks:
Use Max to compare two numeric values. Max returns the greater value of the two.


Previous: LRotR function To the Table of Content Next: Min function
LRotR function Table of Content Min function

- 4.45.2.43 -