|
-
June 12th, 2008, 11:20 PM
#1
Percentage calc formulla needed - little maths
Description:
We have total number of processes 'T' which are being performed. e.g. 10.
Then we already have number of processes done 'D' and number of processes pebding 'P', and we have percent of the process currently being executed.
Question:
How to calcualte overall percentage ?
What I did was:
overall percentage =
(((processes done + (percent of current * 0.1)) / total processes) * 100;
in code:
float overall_peercentage = (((D + (C * 0.1)) / T) * 100;
But it does not produce 100% results, what is wrong with it? Secondly, I dont feel ashamed askin this question, becuae I am not a mathematician.
regards
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
|