Rating

Hello,

I am developing a poll system that is rating something, but I want it to be 1-10. How would I go about using an averaging system to show what their approximate rating is. All of the voting options are 1-10 so I want it to average a number rating 1-10, 1 being the least.

Thanks,

Peter