These two shouldn't be the same, max length is the number of digits, not the maximum value a number may have.

The behavior of number is very confusing, I would expect:
number:min:max