Is there a way of storing very large integers such as 317584931803? Or will I have to find a work around for it?
I believe using the long type, or NSNumber numberWithLong: should do it...
Is there a way of storing very large integers such as 317584931803? Or will I have to find a work around for it?
Is there a way of storing very large integers such as 317584931803? Or will I have to find a work around for it?
What do you need to do with such large numbers?
The problem with using 64 bit ints is if you have to multiply a few of
them together. They will overflow. What you want in this case is decimal numbers where each digit takes one byte.