|
-
Jun 15th, 2009, 12:32 PM
#1
Thread Starter
Frenzied Member
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.
-
Jun 15th, 2009, 01:24 PM
#2
Addicted Member
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
-
Jun 15th, 2009, 01:24 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|