I'm just sitting here programming javascript. And it makes me nuts...
I have a simple calculation.
It's just
var vals = { grossTotal: 3.59, totalPaid: 3.35, alreadyPaid: 0.24 };
var amount = vals.grossTotal - vals.totalPaid - vals.alreadyPaid;
console.log(amount, amount === -Number.EPSILON);
and it always returns me the negative Number.EPSILON How can I get rid of this?