I'm using big-integer module to deal with big numbers. When I'm trying to calculate the following expression I get 0
:
console.log(bigInt('13775000000000000000').divide('2500000000000000000000')); // 0
But when trying to calculate in pure JS numbers it gives me 0.00551
:
console.log(13775000000000000000 / 2500000000000000000000); // 0.00551
Why it so?