Older Newer
Tue, 11 Dec 2007 10:50:12 . . . . afh [fix typo]


Changes by last author:

Added:
= floor =

== Syntax ==

:double floor(double number)

== Arguments ==

:number

::Any double or float number.

== Return ==

:The rounded value.

== Description ==

:Returns the largest integral value smaller than or equal to number.

== Example ==

<code>

%ffp

OnFilterStart:

{

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

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

}

</code>

== Also see ==

:ceil