Module

Data.Formatter.Number

Package
purescript-formatters
Repository
slamdata/purescript-formatters

This module has no support of percents and currencies. Please, note that using simple formatter that tabulates number with zeros and put commas between thousands should be enough for everything because one could just compose it with flip append "%" or whatever

#Formatter Source

type Formatter = { abbreviations :: Boolean, after :: Int, before :: Int, comma :: Boolean, sign :: Boolean }

#formatOrShowNumber Source