def subtract(value, arg):
    """
    Subtracts the arg from the value

    :param value:
    :param arg:
    :return:
    """
    value = value if value is not None else 0
    arg = value if arg is not None else 0
    return int(value) - int(arg)