(self, value)
return len(value) - decimal - 1
Return the precision of the number

:param str value: The value to find the precision of
:rtype: int
Return the precision of the number
Return the precision of the number
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
def _precision ( self , value ) : value = str ( value ) decimal = value . rfind ( '.' ) if decimal == - 1 : return 0 return len ( value ) - decimal - 1