Older Newer
Tue, 07 Jan 2020 03:05:35 . . . . SyneRyder [Formatting, add link to ifloor]


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>

== See Also ==

ceil, ifloor