mIRC Home    About    Download    Register    News    Help

Print Thread
#152799 06/07/06 03:06 AM
Joined: Dec 2002
Posts: 37
X
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Dec 2002
Posts: 37
I would like to know how to calculate the percent change of a number, if possible. Thanks for any help.

#152800 06/07/06 04:21 AM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
I think the forumla is:

((<NewValue> - <OldValue>) / <OldValue> * 100)

* Positive result indicates an increase
* Negative result indicates a decrease

eg. Old Value = 100, New Value = 125,

((125 - 100) / 100 * 100) = 25

therefore: increase from 100 to 125 is a 25% increase.



eg. Old Value = 125, New Value = 100,

((100 - 125) / 125 * 100) = -20

therefore: decrease from 125 to 100 is a 20% decrease.

-genius_at_work

#152801 07/07/06 06:17 PM
Joined: Dec 2002
Posts: 37
X
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Dec 2002
Posts: 37
Thanks, but wouldnt the decrease also be 25%?

#152802 07/07/06 07:31 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
no

10% of 100 is 10
10% of 90 is 9


Link Copied to Clipboard