public static enum PercentageOverExpected.Rounding extends Enum<PercentageOverExpected.Rounding>
| Enum Constant and Description |
|---|
CEIL
ceiling, using
Math.ceil(double) |
FLOOR
floor, using
Math.floor(double) |
NONE
no rounding
|
ROUND
rounding, using
Math.round(double) |
| Modifier and Type | Method and Description |
|---|---|
static PercentageOverExpected.Rounding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PercentageOverExpected.Rounding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PercentageOverExpected.Rounding NONE
public static final PercentageOverExpected.Rounding CEIL
Math.ceil(double)public static final PercentageOverExpected.Rounding FLOOR
Math.floor(double)public static final PercentageOverExpected.Rounding ROUND
Math.round(double)public static PercentageOverExpected.Rounding[] values()
for (PercentageOverExpected.Rounding c : PercentageOverExpected.Rounding.values()) System.out.println(c);
public static PercentageOverExpected.Rounding valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 UniTime LLC. All Rights Reserved.