shortest string representation of erlang floats
Erlang
Pull request Compare This branch is 1 commit behind talentdeficit:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.travis.yml
LICENSE
README.markdown
rebar.config

README.markdown

nicedecimal (v1.0)

shortest string representations of erlang floats

copyright 2010 alisdair sullivan

nicedecimal is released under the terms of the [MIT][MIT] license

to build nicedecimal, use rebar

api

nicedecimal only exports one function. format/1 takes an erlang float as an argument and returns a printable string representation of that float that, when intepreted by another erlang process (via list_to_float, most likely), returns the same float