Popularity
5.4
Growing
Activity
0.0
Stable
3
6
2
Monthly Downloads: 8
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.
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Promo
www.influxdata.com
* 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.