| 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: | ceiling |
| Type: | (RealFrac a, Integral b) => a -> b |
| Class: | RealFrac |
| Description: | returns the least integer not less than argument |
| Related: | floor, properFraction, round, truncate |
| Keywords: | ceiling |
| MATHWORLD | Ceiling Function |
Input: ceiling 3
Output: 3
Input: ceiling 3.7
Output: 4
Input: ceiling 3.000001
Output: 4
Input: ceiling (-4.999)
Output: -4