|
-
Oct 3rd, 2000, 03:11 PM
#1
I declare i as integer (forgive me, old Fortran habits die hard) and perform the following calculations:
i=(Last_Date - First_Date)/NumSets
where xxx_date is a date (validated) and NumSets is integer.
Apparently, i is being rounded to the nearest integer.
ie: i=47/26 => 2
i=33/26 => 1
What gives?
DerFarm
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
|