Click here to Skip to main content
15,867,888 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to Add two 50 digits number in C# asp.net
Posted

1 solution

If your numbers are integers, just use BigInteger[^]. If it is a floating point number, use double[^].
 
Share this answer
 
Comments
Chris Maunder 21-Apr-13 16:18pm    
...as long as you're happy with a little bit of rounding if you use double.
Zoltán Zörgő 21-Apr-13 16:31pm    
Yes, right. If arbitrary precision is needed, this might help: http://sine.codeplex.com/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900