Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Increase or decrease the price by percent
Message
From
01/05/2004 14:08:05
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00899817
Message ID:
00900069
Views:
26
David,

yes, you're right, of course. My answer was written when I was about to leave my office... :-)
REPLACE ALL PRICE WITH PRICE/100*(100+nPercentage) && Increase
REPLACE ALL PRICE WITH PRICE/100*(100-nPercentage) && Decrease 
>Tore,
>
>You need a / 100 in there.
>
>
>>REPLACE ALL PRICE WITH PRICE*(100+nPercentage) && Increase
>>REPLACE ALL PRICE WITH PRICE*(100-nPercentage) && Decrease 
Previous
Reply
Map
View

Click here to load this message in the networking platform