View Single Post
Old 26th November 2012, 19:35   #12
DrO
 
Join Date: Sep 2003
Posts: 27,873
psuedo-code of what is going on (maybe what i've said above is not being followed as to what i mean so here you go):
PHP Code:
if (rating 10) {
    
// handles 0-100
    
rating /= 20;
}
else if (
rating 5) {
    
// handles 0-10
    
rating /= 2;
}
else {
    
// use rating as-is

-daz
DrO is offline   Reply With Quote