Yes just save it as text in your database. In the UI you can still use the text input and make the format integer.
As Keith mentioned there is a limit to a number you can use in Javascript so you run the risk of hitting the limit if you’re going to be dealing with such huge numbers. And I’m guessing you’re not even going to be performing any arithmetic operations on this huge numbers so no need storing them as integers.