Popularity
5.4
Stable
Activity
0.0
Stable
3
6
2
Monthly Downloads: 4
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Text
formattable alternatives and similar packages
Based on the "Text" category.
Alternatively, view formattable alternatives based on common mentions on social networks and blogs.
-
skylighting
A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions -
double-conversion
A fast Haskell library for converting between double precision floating point numbers and text strings. It is implemented as a binding to the V8-derived C++ double-conversion library.
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of formattable or a related project?
README
formattable
A business-quality formatting package with reified formats for multiple data types
This package provides excellent support for formatting numbers including the following configurable features:
- units (thousands, millions, percent, etc)
- prefixes ($, £, etc)
- suffixes (%, ¢, etc)
- decimal separators
- thousands separators
- styles for fixed decimal notation, scientific notation, and SI prefixes
- specify precision as number of decimal places or sig figs
- different styles of negative numbers
Examples
- runFormat (intFmt { _nfStyle = SIStyle }) (225142.3 :: Double) == "225k"
See the test suite for more examples.