User Tools

Site Tools


floor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

floor [2006/08/01 03:13] (current)
Line 1: Line 1:
 +# $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:​======
 +<​file>​
 +$floor(3.141593) ​        ​returns "​3"​
 +$floor(1.570796) ​        ​returns "​1"​
 +$floor(0) ​               returns "​0"​
 +</​file>​
  
floor.txt ยท Last modified: 2006/08/01 03:13 (external edit)