Insight
The highest integer that can safely be stored in JavaScript is 9007199254740991
link
Dilemma
1000000000000 === 999999999999.999999 // Returns true
1000000000000 === 999999999999.99999 // Returns true
1000000000000 === 999999999999.9999 // Returns false
Do you know why this anomaly is occurring?