floor


Name:
floor - Return nearest integer smaller than or equal to the argument.
Examples:
1.1 floor == -> 1  
2.9 floor == -> 2
Description:
Alternatives: Function floor_d (undocumented)  
-> 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: Source:
/home/nest/work/nest-2.14.0/lib/sli/ps-lib.sli