Giter Club home page Giter Club logo

nicedecimal's Introduction

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

nicedecimal's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

nicedecimal's Issues

Error while compiling as dependency

I get the following output when compiling nicedecimal using rebar. This error is also present when compiling nicedecimal as a dependency of another project (jsx in my case).

==> nicedecimal (compile)
Compiled src/nicedecimal.erl
ebin/nicedecimal.beam: failed to delete temporary file ebin/nicedecimal.bea#: no such file or directory
ebin/nicedecimal.beam: failed to rename ebin/nicedecimal.bea# to ebin/nicedecimal.beam: no such file or directory

One possible fix is to add jobs=1 when compiling jsx, but this requires that all projects using jsx be compiled with jobs=1.

All the best,

Mark

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.