def value_to_int(config_val, evar):
    """
    Convert the value to int.

    :param str config_val: The env var value.
    :param EnvironmentVariable evar: The EVar object we are validating
        a value for.
    :rtype: int
    """
    return int(config_val)
