> I would suggest the following process: > > 1. add a huge constant to each number before averaging > 2. calculate the average > 3. subtract the said constant from the result > > Actually the user moves the point in a secure distance from the origo. But that does not help: when avaraging months the average of november (11) and january (1) will still end up as june (6), the correct answer would be december. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist