Results 1 to 4 of 4

Thread: Longer than long... Overflow error...*RESOLVED*

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Perth - Australia
    Posts
    105

    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.

  2. #2
    Fanatic Member daydee's Avatar
    Join Date
    Jun 2001
    Location
    Canada
    Posts
    560

    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.
    Give your music collection a whole new life with PartyTime Jukebox

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Perth - Australia
    Posts
    105
    yeah... that would do it... thanks mate

  4. #4
    Fanatic Member daydee's Avatar
    Join Date
    Jun 2001
    Location
    Canada
    Posts
    560
    Here's this handy Data Type summary and their memory consumption from MSDN... http://msdn.microsoft.com/library/de...rpdatatype.asp
    Give your music collection a whole new life with PartyTime Jukebox

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width