Icon Round

Unit: Internal

Available In: Client and Server Applications

function Round(Value: Double): Integer

function Round(Value: Integer): Integer

The Round function returns the closest integer to the value of the input parameter using the "round half up" method. The return value is an Integer.

Examples

X := Round(-10.4);  // X is -10
X := Round(15.5);  // X is 16
Image