Package | Description |
---|---|
org.hipparchus.dfp |
Decimal floating point library for Java
|
Modifier and Type | Method and Description |
---|---|
DfpField.RoundingMode |
DfpField.getRoundingMode()
Get the current rounding mode.
|
static DfpField.RoundingMode |
DfpField.RoundingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DfpField.RoundingMode[] |
DfpField.RoundingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Dfp |
Dfp.newInstance(DfpField targetField,
DfpField.RoundingMode rmode)
Creates an instance by converting the instance to a different field (i.e.
|
void |
DfpField.setRoundingMode(DfpField.RoundingMode mode)
Set the rounding mode.
|
protected Dfp |
Dfp.trunc(DfpField.RoundingMode rmode)
Does the integer conversions with the specified rounding.
|
Copyright © 2016–2020 Hipparchus.org. All rights reserved.