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
 
À
02/11/2000 14:50:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00437296
Message ID:
00437317
Vues:
16
Percent of what? If you mean, percent of the bigger number, then:

?abs(m1-m2)/max(m1,m2)*100

However, abs(m1-m2) is the absolute value of the difference,not the difference itself.

Yuri

>I want to get the abs(num1 - num2).. and have the result
>be a percent..for example...
>?abs(12-14)... the result is 2, but what percent is 2 of the two numbers?
>Robert Keith
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform