Ceiling

Top  Previous  Next

Function

Parameters

Return value

Ceiling

double d

double

Ceiling

decimal d

decimal

 

Returns the smallest integer greater than or equal to d.

 

Example:

 

Ceiling(1.7) = 2