Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How to Handle Monetary Values in JavaScript. Parent comment
for (let n = 0; n < 1; n += .01) { console.log(`n: ${n}, half: ${(n / 2).toFixed(2)}`); }
There are no comments on this comment yet.
for (let n = 0; n < 1; n += .01) { console.log(`n: ${n}, half: ${(n / 2).toFixed(2)}`); }