Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created August 23, 2015 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelovstanton/40db62d4a657d453bd2d to your computer and use it in GitHub Desktop.
Save angelovstanton/40db62d4a657d453bd2d to your computer and use it in GitHub Desktop.
string positiveString = "91389681247993671255432112000000";
string negativeString = "-90315837410896312071002088037140000";
BigInteger posBigInt = 0;
BigInteger negBigInt = 0;
posBigInt = BigInteger.Parse(positiveString);
Console.WriteLine(posBigInt);
negBigInt = BigInteger.Parse(negativeString);
Console.WriteLine(negBigInt);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment