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

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Element Details

    • value

      int value