code: def get_significant_digits(numeric_value):
      
      try:
          numeric_value = float(numeric_value)
      except (TypeError, ValueError):
          return None
      if numeric_value == 0:
          return 0
      significant_digit = int(math.floor(math.log10(abs(numeric_value))))
      return 0 if significant_digit > 0 else abs(significant_digit)
docs: Returns the precision for a given floatable value.
      If value is None or not floatable, returns None.
      Will return positive values if the result is below 1 and will
      return 0 values if the result is above or equal to 1.
      :param numeric_value: the value to get the precision from
      :returns: the numeric_value's precision
              Examples:
              numeric_value     Returns
              0               0
              0.22            1
              1.34            0
              0.0021          3
              0.013           2
              2               0
              22              0