User Tools

Site Tools


floor

# $EPIC: floor.txt,v 1.2 2006/08/01 02:45:08 sthalik Exp $

Synopsis:

$floor(<number>)

Technical:

Calculates the largest integer that is less than or equal to <number>

Returns:

The largest integer that is less than or equal to the argument, or nothing if no argument is specified.

Examples:

$floor(3.141593)         returns "3"
$floor(1.570796)         returns "1"
$floor(0)                returns "0"
floor.txt · Last modified: 2006/08/01 03:13 (external edit)