Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way with the ABS() to show % of the differenc
Message
From
02/11/2000 15:05:14
 
 
To
02/11/2000 15:03:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00437296
Message ID:
00437314
Views:
22
>>>I want to get the abs(num1 - num2).. and have the result
>>>be a percent..for example...
>>>?abs(12-14)... the result is 2, but what percent is 2 of the two numbers?
>>
>>2 is 14.29% of 14, 16.67% of 12
>-------------
>Hi Steve..
>Is there a function in vfp60 that will give me the 14.29%?

For division, use: /

2/14*100 = 14.29
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform