Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.Fixed.Decimal.Class
Documentation
class FixedDecimal d where #
Fixed decimal types class
Associated Types
Integral
type for storing mantissa
The size of the fractional part in decimal digits
Methods
Runtime value of Scale d
decimal :: Integral m => m -> Int -> d #
Value constructor
decimal m e
constructs a decimal number via m * 10
.^^
e
Instances
(Integral m, KnownNat s) => FixedDecimal (Decimal m s) # | |||||||||
Defined in Data.Fixed.Decimal Associated Types
|