excuse me if this common question or newbie question..
i am wondering why JS calculation return wrong result, i have calculation like this
console.log(((11000 * 100) / (100 + 1) * 1) / 100);
when i using calculator it returns 110, but when i calculate using JS it returns 108.91089108910892
here's the example:
console.log(((11000 * 100) / (100 + 1) * 1) / 100);
are there way to fixed this? or i am wrong doing the calculation? i have try .toFixed() method but that's not what i want..
nb: i have read this solution but that is just rounding up the value not the result (mine is far different 110 to 108.91089...)