|
-
Jun 20th, 2005, 06:18 PM
#1
Thread Starter
Hyperactive Member
Factoring Variables
Okay I understand that part:
if value given: Value = Offset Values that makes--> Value/Offset Value = Answer
or another example with actual number:
if value given 55=16384 that makes--> 55/16384 = 297.890 (round off to 298)
So code I write:
Dim ValueGiven
ValueGiven = ValueGiven / 289
Now I am facing situation on factor that has 0 - 16384 and I understand 0 cannot be divided to anything. So I simply write
Dim ValueGiven
ValueGiven = 16384
Is that correct? IF NOT Please clearly explain it to me
-
Jun 20th, 2005, 06:41 PM
#2
Re: Factoring Variables
 Originally Posted by High Octane
... I understand 0 cannot be divided to anything. ...
That could be done - it's the opposite that cannot, tough ... (unless I misundestood you) ...
0 / 123 = 0
123 / 0 -> will generate error "division by zero ..."
-
Jun 20th, 2005, 07:05 PM
#3
Thread Starter
Hyperactive Member
Re: Factoring Variables
so does it mean 0 - 16384 makes 0 / 16384? I doubt it?
-
Jun 20th, 2005, 07:26 PM
#4
Re: Factoring Variables
???
0 - 16384 = -16384
... unless (as I said) I totally misunderstood you ...
-
Jun 21st, 2005, 12:11 AM
#5
Re: Factoring Variables
It seems confusing...
55=16384 ?
0 - 16384 ?
Which is which? Equal sign or minus sign?
-
Jun 21st, 2005, 12:22 AM
#6
Thread Starter
Hyperactive Member
Re: Factoring Variables
55=16384 55 (Max value) equal to 16384 (Offset Variable) so you divide them to get normal value i.e. 0 = 0 55 = 16384.
Now I face situation with 0 minus 16384 which I was unsure... But I sorted it out. if I divide 0 to 16384, which would creates an error.. so I have to do spilt in half to get normal value. Strange indicent, unexplainable... but it worked out okay for me.
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
|