Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting difference of two currencies as percentage
Message
De
10/01/2002 18:46:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Getting difference of two currencies as percentage
Divers
Thread ID:
00603248
Message ID:
00603248
Vues:
66
Hi folks,

Forgive me if this is a no brainer, but i'm quite new to VFP. Lets say you have two columns that are of type currency, and you'd like to know what the difference between the two is as a percentage. I.e. how much bigger/smaller is the second column? I'm thinking I might have to multiply everything by 100 and use INT(). (there doesn't seem to be a DOUBLE() or FLOAT() function?) I can figure it out with integer division, its just somewhat painful. Is there any shortcut I can use?

thanks,
noah
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform