Annotation Type 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:
    ForAll
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value  
    • Element Detail

      • value

        int value