@staticmethod
def to_nullable_integer(value):
    """
        Converts value into integer or returns null when conversion is not possible.

        :param value: the value to convert.

        :return: integer value or null when conversion is not supported.
        """
    if value == None:
        return None
    try:
        value = float(value)
        return int(value)
    except:
        return None
