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: | div |
Type: | Integral a => a -> a -> a |
Class: | Integral |
Priority: | 7 |
Description: | returns how many times the first number can be divided by the second one |
Related: | (/), quot, quotRem, recip, rem |
Keywords: | division |
Input: 6 `div` 2
Output: 3
Input: 8 `div` 3
Output: 2