Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way with the ABS() to show % of the differenc
Message
De
02/11/2000 16:42:38
 
 
À
02/11/2000 14:50:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00437296
Message ID:
00437408
Vues:
31
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform