unified and easier number range validator constructors