Older Newer
Tue, 07 Jan 2020 03:00:58 . . . . SyneRyder [formatting, add link to iceil]


Changes by last author:

Added:
= ceil =

== Syntax ==

double ceil(double number)

== Arguments ==

:number

::Any double or float number.

== Return ==

The rounded value.

== Description ==

Returns the smallest integral value greater than or equal to number.

== Example ==

<code>

%ffp

OnFilterStart:

{

Info("Rounding 2.345 to ceiling gives %f", ceil(2.345));

Info("Rounding -2.345 to ceiling gives %f", ceil(-2.345));

}

</code>

== See Also ==

chop, floor, iceil, round, C Runtime Functions