I want to convert a 17digit number string into a number this is the number "76561197962169398".I tried using parseInt() The result of using parseInt is :-
76561197962169390
I am loosing the last digit.I also tried BigInt() 'n' is getting appended to the number. I m thinking of using replace() with a regex for only digits.
Is there any other way I can achieve this without loosing precision. Please any help regarding this is really appriciated.THANK YOU