format-numbers-0.1.0.1: Various number formatting functions

Safe HaskellSafe
LanguageHaskell2010

Data.Text.Format.Numbers

Synopsis

Documentation

data PrettyCfg Source #

Constructors

PrettyCfg 

Fields

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