| ZVON > References > Haskell reference |
| Intro / Search / ZVON |
| | Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random |
| Module: | Prelude |
|---|---|
| Function: | floor |
| Type: | (RealFrac a, Integral b) => a -> b |
| Class: | RealFrac |
| Description: | returns the greatest integer not greater than argument |
| Related: | ceiling, properFraction, round, truncate |
| Keywords: | floor |
| MATHWORLD | Floor Function |
Input: floor 3
Output: 3
Input: floor 3.7
Output: 3
Input: floor 3.000001
Output: 3
Input: floor (-4.999)
Output: -5