Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculate number
Message
From
15/01/2005 12:24:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Calculate number
Miscellaneous
Thread ID:
00977470
Message ID:
00977470
Views:
56
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
Next
Reply
Map
View

Click here to load this message in the networking platform