Return the value of an item in the running environment as an Int, or a default value if not found or if the value cannot be parsed as an Int.
name of the environment variable
default value
minimum value