The name of the environment variable
The minimum allowed value (inclusive)
The maximum allowed value (inclusive)
Optionaldef: numberOptional default number value to use if the environment variable is not set
The number value from the environment variable if it's within the specified range
Retrieves a number from an environment variable and validates it's within a specified range.