Need help on my calculator
Author |
Message |
gingerking
|
Posted: Sat Nov 03, 2007 1:13 pm Post subject: Need help on my calculator |
|
|
The average function is screwed.... I donno how to fix it ... please help
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
Caluclator.frm |
Filesize: |
20.47 KB |
Downloaded: |
287 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
CodeMonkey2000
|
Posted: Sat Nov 03, 2007 3:18 pm Post subject: RE:Need help on my calculator |
|
|
I don't understand how the average button should work. Could you please expand? I would probably use an input box and get a collection of numbers to average out, then include it in my overall calculation in the main form.
|
|
|
|
|
![](images/spacer.gif) |
gingerking
|
Posted: Sat Nov 03, 2007 6:21 pm Post subject: Re: Need help on my calculator |
|
|
Um for the calculator, i dont really know which is the best. But in order to fit with other operations, i think this is the way to do a avg calculation:
input a number, press avg button, input another number, and press avg button and so on, and it will display the avg of all the numbers inputted so far.
Here is my modified calculator, included the avg button done, but i dont think it's perfect yet, can anyone help?
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
Caluclator.frm |
Filesize: |
20.47 KB |
Downloaded: |
276 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
Daveliang99
|
Posted: Tue Nov 06, 2007 10:50 am Post subject: RE:Need help on my calculator |
|
|
Chubby Jack, read section 6-6 on ur VB book and find the solution.
|
|
|
|
|
![](images/spacer.gif) |
|
|