Percentage
public final class Percentage implements Comparable
Represents a value as a percentage, not a fraction - for example 100%, 89.62%, etc.
Summary
Public constructors |
|---|
Percentage(double value) |
Public methods |
|
|---|---|
int |
compareTo(@NonNull Percentage other) |
boolean |
|
final double |
getValue() |
int |
hashCode() |
@NonNull String |
toString() |