Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

Method floor()


Method floor

float floor(int|float f)

Description

Return the closest integer value less or equal to f.

Note

floor() does not return an int, merely an integer value stored in a float.

See also

ceil(), round()