Number in range
Checks if the given number falls within the given range.
- Use arithmetic comparison to check if the given number is in the specified range.
- If the second parameter,
end
, is not specified, the range is considered to be from0
tostart
.