-
@Retention(RUNTIME) @Target({FIELD,TYPE,METHOD}) public @interface Percentage
Event field annotation to use on fractions, typically between0.0and1.0, to specify that the value is a percentage.For example, a field with the value
0.5annotated by this annotation, should be interpreted as50%and rendered in a graphical user interface with a percentage sign to avoid confusion with0.005%.- Since:
- 9