CEIL

Top  Previous  Next

Syntax

DOUBLE = CEIL(num as DOUBLE)

Description

The CEIL function returns the smallest integer that is greater than or equal to the input parameter

Parameters

num - Number to test

Return value

A double value containing the smallest integer

Remarks

See Also: FLOOR

Example usage

PRINT CEIL(2.8), CEIL(-2.8)