I have a string as numbers. And I want to transform string to int.
So my code like that:
const bigNumber = '6972173290701864962'
console.log(bigNumber)
//6972173290701864962         =====> last digits : *****1864962 
console.log(Number(bigNumber))
//6972173290701865000         =====> last digits : *****1865000
Why Im getting rounding number? How can I solve this problem?
 
    