| 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: | abs |
| Type: | Num a => a -> a |
| Class: | Num |
| Description: | absolute value of the number |
| Related: | negate, signum |
| Keywords: | absolute value |
| MATHWORLD | Absolute value |
Input: abs 3
Output: 3
Input: abs (-3)
Output: 3