On Tue, Feb 19, 2013 at 10:09 AM, Robert Newson <[email protected]> wrote:
> "I have stored fixed precision numbers in a database". You haven't,
> unfortunately, because you can't. Javascript only has one kind of
> number, 64-bit floating point.
>
>
> If you want fixed precision, you'll need to store your numbers in
> strings and manipulate them that way too. A quick google in the past
> has shown a few "bignum" libraries for Javascript.
>
> B.
>

At a meetup someone suggested we should go to edn [1] . Could be
interesting for such purposes. (that and also date formats).

Not sure how much we could support both in couchdb but edn parsers
starts to appear in a lot of languages around:

- py: https://pypi.python.org/pypi/edn_format
- js: https://github.com/gnarmis/edn-js
- erl: https://github.com/seancribbs/edn-erlang (incomplete)

- benoƮt


[1] https://github.com/edn-format/edn

Reply via email to