io.konik.jaxb.adapter.FourDigitRoundingAdapter.scale=4 io.konik.jaxb.adapter.FourDigitRoundingAdapter.roundingMode=HALF_UP
public class FourDigitRoundingAdapter extends TwoDigitRoundingAdapter
Adapter to round the amount during marshalling to four decimals after the period.
The scale and rounding mode can be overridden via the configuration.
io.konik.jaxb.adapter.FourDigitRoundingAdapter.scale=4 io.konik.jaxb.adapter.FourDigitRoundingAdapter.roundingMode=HALF_UP
| Constructor and Description |
|---|
FourDigitRoundingAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getDefaultScale() |
marshal, unmarshalpublic FourDigitRoundingAdapter()
protected java.lang.String getDefaultScale()
getDefaultScale in class TwoDigitRoundingAdapterCopyright © 2014-2018 Konik.io. All Rights Reserved.