Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way with the ABS() to show % of the differenc
Message
From
02/11/2000 16:42:38
 
 
To
02/11/2000 14:50:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00437296
Message ID:
00437408
Views:
27
Robert:

>
ABS(12-14) = 2, but what percent is 2 of the two numbers?
>

What is your context?

In general the percentage is measure as follows:
100% * ( Final Value - Original Value ) / Original Value
A positive value represents an increase in value.
A negative value represents a decrease in value.
You do have to check that Original Value is not 0.

There may be another way to calculate the percentage in some specific context and I do believe I heard about one when I was taking a class in Game Theory, but these are for very specialized situations.

Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform