talentdeficit / nicedecimal

shortest string representation of erlang floats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

note that this project was started at a time when float_to_list exhibited poor behaviour but this has since been fixed, rendering this project rather pointless. it remains up for historical reasons, but you should probably not be using it

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

About

shortest string representation of erlang floats

License:Other


Languages

Language:Erlang 100.0%