On Tue, Feb 19, 2013 at 10:10 PM, Robert Newson <[email protected]> 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...
On Tue, Feb 19, 2013 at 10:10 PM, Robert Newson <[email protected]> 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...