Re: get most common number in a list with tolerance

2009-02-20 Thread Tim Rowe
2009/2/20 Astan Chee : > Hi, > I have a list that has a bunch of numbers in it and I want to get the most > common number that appears in the list. This is trivial because i can do a > max on each unique number. What I want to do is to have a tolerance to say > that each number is not quite unique

Re: get most common number in a list with tolerance

2009-02-20 Thread Gerard Flanagan
Astan Chee wrote: Hi, I have a list that has a bunch of numbers in it and I want to get the most common number that appears in the list. This is trivial because i can do a max on each unique number. What I want to do is to have a tolerance to say that each number is not quite unique and if the

get most common number in a list with tolerance

2009-02-20 Thread Astan Chee
Hi, I have a list that has a bunch of numbers in it and I want to get the most common number that appears in the list. This is trivial because i can do a max on each unique number. What I want to do is to have a tolerance to say that each number is not quite unique and if the difference from o