dividing by 10 is easy. Move the decimal point one position to the left. > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Jason > Sent: 22 July 2000 03:43 > To: PICLIST@MITVMA.MIT.EDU > Subject: Help needed with simple question > > > Dear all, > > Im sure this is a simple question, but as we all know sometimes that its > the simple questions that are the difficult ones. > > Im trying to work out the average of 10 numbers, so I am adding them to > each other but the problem arises when I need to divide the answer by > 10. I seem to vaguely recall that you have to apply the 2s complement > method, but I am not sure. > Can anyone please offer me some help to this trivial problem. > > many thanks > Jason > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.