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 |
---|---|
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–2017 Hipparchus.org. All rights reserved.