@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Documented @Constraint(validatedBy={}) public @interface DecimalMax
null
.
Note that float and double are not portably supported due to
possible rounding error problems.
DecimalMax
accepts a String whereas accepts a long.Copyright © 2017. All rights reserved.