In a program that I am making, I require rather large numbers, for instance 1000000000000000000
also known as a quintillion. This number is just within the regions of the largest possible Int()
in swift. Lets say I wanted to store 10 quintillion (10 x 10^19) into a variable. What would be the best way to approach this problem, if there is a solution at all...
In addition to this I would need to find a way to store this in UserDefaults.