Possible Duplicate:
working with incredibly large numbers in .NET
I'm working on a simple project which has to use basic arithmetic functions such as +,-,*,/. The numbers that used by are too large to be stored in a 64 bit Integer.
I wondered if there is any way to store these numbers so i can use them to perform arithmetic functions.
Thank you!
The BigInteger
(.NET 4.0+) structure to the rescue!
Represents an arbitrarily large signed integer.
If you are on a version pre-dating 4.0, check out the BigNumbers library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With