Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting number by percent
Message
From
20/02/2007 13:23:14
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01197359
Message ID:
01197375
Views:
27
>>Hi
>>
>>I have a specific number.
>>
>>How can I get 80%/72.4%/16.91% from this number?
>
>MyNumber * Percent / 100
?
Try getting 80% from 100 by your syntax:

i=100+80/100
messagebox(alltrim(str(i)))
Thank you
Chaim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform