Icon Floor

Unit: Internal

Available In: Client and Server Applications

function Floor(Value: Double): Integer

function Floor(Value: Integer): Integer

The Floor function returns the closest integer that is less than or equal to the value of the input parameter. The return value is an Integer.

Examples

X := Floor(-10.4);  // X is -11
X := Floor(15.98);  // X is 15
Image