min
min(real: Real): Real;
The min method of the Real primitive type returns the lesser value of the receiver and the real parameter.
If the value of the receiver is less than the value of the real parameter, the value of the receiver is returned. If the value of the receiver is greater than or equal to the value of the real parameter, the value of real is returned.
The following example shows the use of the min method.
testReal(); vars realValue : Real; begin realValue := 34.5; // Defines the variable value write realValue.min(40.6); // Outputs 34.5 end;