Name: floor - Return nearest integer smaller than or equal to the argument.

Examples:

1.1 floor == -&gt; 1 
2.9 floor == -&gt; 2


Description:

Alternatives: Function floor_d (undocumented) 
-&gt; behaviour and synopsis are the same.


Parameters:

The input argument must be of type integer or double. 
The output argument has the same type as the input argument.


Remarks:

Note that for integer arguments, this function equals identity.


Author:

Ruediger Kupper, docu edited by Sirko Straube


FirstVersion:

13.3.2003


SeeAlso:

ceil

Source:

/var/www/debian/nest/nest-simulator-2.20.0/lib/sli/ps-lib.sli
