def _precision(self, value):
        """Return the precision of the number

:param str value: The value to find the precision of
:rtype: int

        """
        value = str(value)
        decimal = value.rfind('.')
        if decimal == -1:
            return 0
        return len(value) - decimal - 1
Return the precision of the number

:param str value: The value to find the precision of
:rtype: int

        
src/collectors/redisstat/redisstat.py