|
-
Apr 22nd, 2003, 02:01 AM
#1
Thread Starter
Lively Member
Longer than long... Overflow error...*RESOLVED*
Hey guys,
I got an overflow error while storing the free hdd space on a 120GB into a long variable.
I was just wondering if anyone else has encountered this error and come up with a solution?
Is there a variable that holds more numeric digits than a long variable.
Cheers
Nightshift
Last edited by nightshift; Apr 22nd, 2003 at 02:28 AM.
-
Apr 22nd, 2003, 02:12 AM
#2
Fanatic Member
Re: Longer than long... Overflow error...
Originally posted by nightshift
Hey guys,
I got an overflow error while storing the free hdd space on a 120GB into a long variable.
I was just wondering if anyone else has encountered this error and come up with a solution?
Is there a variable that holds more numeric digits than a long variable.
Cheers
Nightshift
I can't recall what the limit is for Single but I know it's way more the a Long.
You could try that and if you need more yet try using Double.
That should give you plenty of digits.
-
Apr 22nd, 2003, 02:27 AM
#3
Thread Starter
Lively Member
yeah... that would do it... thanks mate
-
Apr 22nd, 2003, 02:28 AM
#4
Fanatic Member
Here's this handy Data Type summary and their memory consumption from MSDN... http://msdn.microsoft.com/library/de...rpdatatype.asp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|