incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: Fixed precision of floating point number not respected in views
Date Tue, 19 Feb 2013 21:20:26 GMT
On Tue, Feb 19, 2013 at 10:10 PM, Robert Newson <rnewson@apache.org> wrote:
> ➜  ~  node --version
> v0.8.20
>
> ➜  ~  node
>> (17.0 + 0.3) .toPrecision(21)
> '17.3000000000000007105'
>

by doing that you transformed an int to a string though...

Mime
View raw message