Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculate number
Message
De
15/01/2005 12:24:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Calculate number
Divers
Thread ID:
00977470
Message ID:
00977470
Vues:
55
hi all,
i want to make operations at my number as..

1. if mynumber lessthan or equal 2000
mynumber=munumber*0.05
endif
*****************************
but if mynumber as 30000 or lessthan(mean morethan2000) or morethan i want to make
1. 2000*0.05 mean 100
2. 4000*0.10 mean 400
3. 8000*0.20 mean 1600
4. 1600*0.25 mean 4000
****
the result is 6100

i need to make the 4 operatins if my number >2000,
but if mynumber just need 2 operatins give the result,
and get anothe number...
.
m.qasem
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform