code: def fn_int(self, value):
          
  
          if is_ndarray(value) or isinstance(value, (list, tuple)):
              return self._to_ndarray(value).astype('int')
          else:
              return int(value)
docs: Return the value cast to an int.
  
          :param value: The number.
          :return: The number as an int.