|
-
Aug 27th, 2000, 03:53 PM
#1
Thread Starter
Junior Member
I wrote a little program and what will happen is the user will enter a number, such as 5. Then the user will click okay and it will clear the form. Let's say the user enters, 4. It's okay and then exits the current form and goes to the summary form. In the summary form, it displays an average of 4, rather than 4.5.
'Average of Scores in main form
giCustomerCount = giCustomerCount + 1
giPunch = giPunch + iPunch
giSummaryPunch = giPunch / giCustomerCount
Any help will be appreciated, thanks in advance
-
Aug 27th, 2000, 03:59 PM
#2
Monday Morning Lunatic
Use Single rather than Integer for your variable definitions.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
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
|