ZVON > References > Haskell reference
| 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

Example 1

Input: 3 `quot` 12

Output: 0

Example 2

Input: 33 `quot` 12

Output: 2