Hi, may I suggest to enhance @DecimalMin/@DecimalMax constraints with additional exclusive boolean attribute? This would allow to define a constraints like:
This makes sense when dealing with decimal numbers where one might want to allow a number regardless of the precision.
@DecimalMin("0.0001") vs. @DecimalMin("0.000000001"), etc.
To maintain backward compatibility, default value for new exclusive boolean attribute should be false
Hibernate Validator 4.0.0.GA