Retrieves a number from an environment variable and validates it meets a minimum value.
The name of the environment variable
The minimum required value
Optional
Optional default number value to use if the environment variable is not set
The number value from the environment variable if it meets the minimum requirement
Will throw an error if the value is not a valid number, is below the minimum, or if the environment variable is missing and no default is provided
Retrieves a number from an environment variable and validates it meets a minimum value.