D Documentation  
ceil
real ceil(real x)

Rounds x up.

Example:
writefln("ceil(3.2)    is %d",cast(int)ceil(3.2));

Output:
ceil(3.2)    is 4

See also:
std.math.floor
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.