Skip to content
This repository has been archived by the owner on Jan 16, 2019. It is now read-only.

talentdeficit/nicedecimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages