Tom Knowlton
asked on
Storing really large numbers in C#
I have this:
this.button1.Text = DateTime.Now.Ticks.ToStrin g();
which gives me numbers like:
632855413326400752
what I want to do is store this number, not in a text box, but in a variable whose type is large enough to store this value.
I don't know of any variable large enough to store this number.
What options do I have?
this.button1.Text = DateTime.Now.Ticks.ToStrin
which gives me numbers like:
632855413326400752
what I want to do is store this number, not in a text box, but in a variable whose type is large enough to store this value.
I don't know of any variable large enough to store this number.
What options do I have?
ASKER
Huh, I guess a "long" does hold a number that big.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER