ceil

ds2.1.1/lib/doc/efun/all/ceil · 317 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

ceil - round a float up to the nearest integer

float ceil( float f );

This efun is only available if PACKAGE_MATH is compiled in.

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

See also:
 floor,
 to_int,
 to_float

 Tim Hollebeek  Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere

Site Stats

Snippets: 1791
Codebases: 571