Skip to main content

ceil

Discworld driver help

ceil

Name

ceil() - round a float up to the nearest integer

Synopsis

float ceil( float f );

Description

Returns (as a float) the nearest integer number equal to or greater than `f'.

See also

floor(), round(), to_int(), to_float()