function Min(A,B: Integer): Integer
function Min(A,B: Double): Double
The Min function returns the lesser of the two input parameters. If A is less than B, then A is returned. If B is less than A, then B is returned. The return value is the same type as the input parameters.