parameters: (value: float)
docstring: Get number of digits after decimal point.
docstring_summary: Get number of digits after decimal point.
docstring_tokens: Get number of digits after decimal point .
function: def get_digits(value: float) -> int:
      """
      Get number of digits after decimal point.
      """
      value_str = str(value)
  
      if "e-" in value_str:
          _, buf = value_str.split("e-")
          return int(buf)
      elif "." in value_str:
          _, buf = value_str.split(".")
          return len(buf)
      else:
          return 0
function_tokens: def get_digits ( value : float ) -> int : value_str = str ( value ) if "e-" in value_str : _ , buf = value_str . split ( "e-" ) return int ( buf ) elif "." in value_str : _ , buf = value_str . split ( "." ) return len ( buf ) else : return 0