Package net.jqwik.api.constraints
Annotation Interface Scale
@Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Documented
@API(status=MAINTAINED,
since="1.0")
public @interface Scale
Use to constrain the maximum number of decimal places when generating decimal numbers.
If this annotation is not present the scale is 2 by default.
Applies to Float, Double and BigDecimal parameters which are also annotated with
@ForAll
.- See Also:
-
Required Element Summary
-
Element Details
-
value
int value
-