Allow min/max/range values to be any number type

Currently `min()`, `max()` and `range()` all do an `integer()` check, which means that floats can't be checked. This relaxes it to `numeric()`. If the user cares about the value being an integer, it should be checked separately.