Previous: 4.45.2.42. LRotR function To the Table of Contents Next: 4.45.2.44. Min function
4.45.2.42. LRotR function Table of Contents 4.45.2.44. Min function

- 4.45.2.43. -
Table of Contents
4. Standard Units
4.45. Math - Extended Mathematics unit
4.45.2. Math Unit Procedures and Functions
4.45.2.43. Max function


4.45.2.43. 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: 4.45.2.42. LRotR function To the Table of Contents Next: 4.45.2.44. Min function
4.45.2.42. LRotR function Table of Contents 4.45.2.44. Min function

- 4.45.2.43. -