Floor(Value: Double): Double;
Value. The real value that must be rounded.
The Floor method rounds down a real value passed as the Value input parameter to an integer.
Executing the example results in a real value.
Sub UserProc;
Var
D:Double;
Begin
D:=234.734;
D:=Double.Floor(D);
End Sub UserProc;
After executing the example the "D" variable contains the 234 value.
See also: