Calculates the percent the inputed value is in relation to the
        list of other values.
        
        :param      value  | <variant>
                    values | [<variant>, ..]
        
        :return     <float> 0.0 - 1.0

def percentOfTotal(self, value, values):
        """
        Calculates the percent the inputed value is in relation to the
        list of other values.
        
        :param      value  | <variant>
                    values | [<variant>, ..]
        
        :return     <float> 0.0 - 1.0
        """
        try:
            return float(values.index(value) + 1) / len(values)
        except (ZeroDivisionError, ValueError):
            return 0.0