def fn_int(self, value):
if is_ndarray(value) or isinstance(value, (list, tuple)):<EOL><INDENT>return self._to_ndarray(value).astype('<STR_LIT:int>')<EOL><DEDENT>else:<EOL><INDENT>return int(value)<EOL><DEDENT>
Return the value cast to an int.

:param value: The number.
:return: The number as an int.