| 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: | quot |
| Type: | Integral a => a -> a -> a |
| Class: | Integral |
| Priority: | 7 |
| Description: | integer division, it divides the first argument by the second one discarding remainder |
| Related: | (/), div, quotRem, recip, rem |
| Keywords: | division |
Input: 3 `quot` 12
Output: 0
Input: 33 `quot` 12
Output: 2