Package | Description |
---|---|
org.apache.commons.math3.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 © 2003–2016 The Apache Software Foundation. All rights reserved.