Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find Median
Message
From
03/04/2005 00:30:08
 
 
To
02/04/2005 23:48:32
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
01001069
Message ID:
01001071
Views:
22
>I need help, how can I program "Median" formula in VFP8. In Excel it is Median(A1:A10)

The formula is here: Re: Statistical functions in VFP6 (import) Thread #435549 Message #435911

To order your values you could put them in an array and use ASORT() or you could put them in a cursor and INDEX the cursor.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform