| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Return smallest of two values.
Source position: math.pp line 166
| function Min( | 
| a: Integer; | 
| b: Integer | 
| ):Integer; overload; | 
| a: Int64; | 
| b: Int64 | 
| ):Int64; overload; | 
| a: QWord; | 
| b: QWord | 
| ):QWord; overload; | 
| a: Single; | 
| b: Single | 
| ):Single; overload; | 
| a: Double; | 
| b: Double | 
| ):Double; overload; | 
| a: Extended; | 
| b: Extended | 
| ):Extended; overload; | 
min returns the smallest value of Int1 and Int2;
None.
| 
 | Return largest of 2 values | 
Program Example29; { Program to demonstrate the min function. } Uses math; Var A,B : Cardinal; begin A:=1;b:=2; writeln(min(a,b)); end.