format-numbers-0.1.0.1: Various number formatting functions
Data.Text.Format.Numbers
data PrettyCfg Source #
Constructors
Fields
Decimals to display
Optional thousands separator
Decimal separator
prettyF :: RealFrac i => PrettyCfg -> i -> Text Source #
Pretty print any number given a configuration
prettyI :: Maybe Char -> Int -> Text Source #
Pretty print an Int given an optional thousands separator
Int