Yes, actually there are several:
@Digits(integer=6, fraction=2)
: The value of the field or property must be a number within a specified range. The integer element specifies the maximum integral digits for the number, and the fraction element specifies the maximum fractional digits for the number.
@DecimalMax("30.00")
or @DecimalMin("5.00")
: The value of the field must be greater or equal/lower or equal to the value specified in the annotation.
@Min("10")
or @Max("10")
: Same as @Decimal, but the value of the field must be an integer.
Also, if none of these are good for your needs, you can use @Pattern
with a regex.
Source: https://docs.oracle.com/javaee/7/tutorial/bean-validation001.htm