Validate that a numeric value is within a range (inclusive).
The value to validate
Dot-notation path for error messages
Minimum allowed value
Maximum allowed value
if the value is outside the range
Validate that a numeric value is within a range (inclusive).