Hacker News new | ask | show | jobs
by ricardobayes 1339 days ago
Some kind of overflow after some discount being applied?
1 comments

Guessing it's some variation of thinking javascript's floating point works for money.

Like, in JS: 0.3 - 0.2 - 0.1 === -2.7755575615628914e-17 // true