Annotationsschnittstelle 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.
Siehe auch:
  • Erforderliche Elemente - Übersicht

    Erforderliche Elemente
    Modifizierer und Typ
    Erforderliches Element
    Beschreibung
    int
     
  • Elementdetails

    • value

      int value