Can't use BigInteger | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can't use BigInteger

In SoloLearn Playground I can't use BigInteger. When I go to the playground I write in the top using System.Numerics and when I try to use BigInteger I get an error saying 'The type or namespace name 'BigInteger' could not be found...'. Can someone say why this happen and a solution for this. (If no solution an alternative)

21st Sep 2018, 9:00 PM
Loading...
Loading... - avatar
5 Answers
22nd Sep 2018, 7:41 PM
sneeze
sneeze - avatar
+ 2
I have the same issue. The ulong type is not enough for my code but Big integer can't be used... or am I missing something here?
14th Oct 2018, 11:35 AM
Gentlemen Ninja
Gentlemen Ninja - avatar
+ 1
I'm coding in C# and using System.Numerics, same problem as the TO... It works fine with VS, but not here on SoloLearn...
14th Oct 2018, 10:41 PM
Gentlemen Ninja
Gentlemen Ninja - avatar
+ 1
I think that I discovered the best solution that is using decimal. It is even much larger than long or ulong.
15th Oct 2018, 6:51 AM
Loading...
Loading... - avatar
0
Which language ? Where does your BigInt come from ?
14th Oct 2018, 12:05 PM
sneeze
sneeze - avatar