FLOOR

Top  Previous  Next

Syntax

DOUBLE = FLOOR(num as DOUBLE)

Description

The FLOOR function returns the largest integer that is less than or equal to the input parameter

Parameters

num - Number to test

Return value

A DOUBLE value containing the largest integer

Remarks

See Also: CEIL

Example usage

PRINT FLOOR(2.8),FLOOR(-2.8)