RE: [PHP] Finding Mode

2002-12-08 Thread Ford, Mike [LSS]
-Original Message- From: Rick Widmer At 07:12 PM 12/7/02 -0500, Stephen wrote: Another math question... How would I find the mode (number that repeats most often) of an array? Then, if there isn't a number that repeats most often, tell the user that. For each entry in the array,

[PHP] Finding Mode

2002-12-07 Thread Stephen
Another math question... How would I find the mode (number that repeats most often) of an array? Then, if there isn't a number that repeats most often, tell the user that. Thanks, Stephen Craton http://www.melchior.us What is a dreamer that cannot persevere? -- http://www.melchior.us -- PHP

Re: [PHP] Finding Mode

2002-12-07 Thread Rick Widmer
At 07:12 PM 12/7/02 -0500, Stephen wrote: Another math question... How would I find the mode (number that repeats most often) of an array? Then, if there isn't a number that repeats most often, tell the user that. For each entry in the array, count the number of times a value occurs: while(

Re: [PHP] Finding Mode

2002-12-07 Thread Stephen
- From: Rick Widmer [EMAIL PROTECTED] To: Stephen [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Saturday, December 07, 2002 9:14 PM Subject: Re: [PHP] Finding Mode At 07:12 PM 12/7/02 -0500, Stephen wrote: Another math question... How would I find the mode (number that repeats most often