Returns the percentage the value represents between the minimum and
        maximum for this axis.
        
        :param      value | <int> || <float>
        
        :return     <float>

def percentAt(self, value):
        """
        Returns the percentage the value represents between the minimum and
        maximum for this axis.
        
        :param      value | <int> || <float>
        
        :return     <float>
        """
        min_val = self.minimum()
        max_val = self.maximum()
        
        if value < min_val:
            return 0.0
        elif max_val < value:
            return 1.0
        
        # round the max value to sync with the values in the grid
        max_val = self.rounded(max_val)
        
        try:
            perc = (value - min_val) / float(max_val - min_val)
        except (TypeError, ZeroDivisionError):
            return 0.0
        
        return max(min(perc, 1.0), 0.0)