Round(Value: Double): Double;
Value - real value that must be rounded.
The Round method rounds a real value passed as the input parameter to an integer. Executing the example results in a real value.
Sub Main;
Var
D: Double;
Begin
D := 234.234;
D := Double.Round(D);
End Sub Main;
After executing the example the "D" variable will contain the value 234.
See also: