def format_arguments(arguments):
    """Returns numerical arguments as int type, or None if not set."""
    formated_arguments = []
    for argument in arguments:
        if argument:
            argument = int(argument)
        formated_arguments.append(argument)
    return formated_arguments