Command: floor

NEST HelpDesk Command Index NEST Quick Reference

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

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.
Examples:
 1.1 floor == -> 1
2.9 floor == -> 2
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:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/lib/sli/ps-lib.sli

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative