Results 1 to 7 of 7

Thread: 7 into 1

Hybrid View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2006
    Location
    MI
    Posts
    2,012

    Re: 7 into 1

    I thought of that, but the field in the database where I need to save the number is integer type, so that rules out saving it as a string with delimiters.

  2. #2
    Addicted Member
    Join Date
    Apr 2009
    Location
    Near Dog River (sorta)
    Posts
    160

    Re: 7 into 1

    Can you datatype handle an integer value as high as

    024,024,024,024,024,024,024?

    Each grouping is the value for that day.
    PC #1: Athlon64 X2+Vista64+VS2008EE+.NET3.5 #2: XP (all flavours Ghost'd)+VS2008EE+.NET3.5
    Help Files: HelpMaker · Dr. Explain · Create Icons: IcoFX


    "Whoever eats my flesh and drinks my blood has eternal life, and I will raise him on the last day." John 6:54

  3. #3
    PowerPoster SJWhiteley's Avatar
    Join Date
    Feb 2009
    Location
    South of the Mason-Dixon Line
    Posts
    2,256

    Re: 7 into 1

    Are you sure it is an integer and not a long in the database?

    But even so, if it's a maximum of 24 hours a day, then you could use a base 10 representation of a base 24 number (which would only be 7 digits long) which CAN be represented as an integer, I believe.
    "Ok, my response to that is pending a Google search" - Bucky Katt.
    "There are two types of people in the world: Those who can extrapolate from incomplete data sets." - Unk.
    "Before you can 'think outside the box' you need to understand where the box is."

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