Answer the question
In order to leave comments, you need to log in
What is the best variable to use for the clicker counter?
There is a task - to write a clicker, when using int, the counter rests on the ceiling of 2.14 billion. What can be done to make the counter conditionally infinite (large enough), and to solve this problem as efficiently as possible?
Engine - uni3d, language - C#
Now I use ulong, but maybe there is something more efficient?
Answer the question
In order to leave comments, you need to log in
compare
ulong
decimal
BigInteger
the latter is disproportionately larger, but still finite. was there a big integer limit?
but you have to understand what it is
big integer stores uint[] digitsuint[] in which the digit is uint
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question