lovasoa / elm-format-number

✨Format numbers as pretty strings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elm Format Number

Build Status

This simple Elm package formats numbers as pretty strings. It is flexible enough to deal with different number of decimals, different thousand separators and diffetent decimal separator.

API documentation

The API is extensively documented with numerous examples.

See this package's page on elm-lang.org: http://package.elm-lang.org/packages/lovasoa/elm-format-number/latest/FormatNumber

Tests

This package uses elm-doc-test: All the exemples in the documentation are automatically tested and are guaranted to be correct.

launch tests

$ npm install
$ npm test

About

✨Format numbers as pretty strings

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elm 100.0%