Package | Description |
---|---|
javax.money |
Main package of the Money and Currency API.
|
Modifier and Type | Method and Description |
---|---|
MonetaryContext.Builder |
MonetaryContext.Builder.setAmountType(java.lang.Class<? extends MonetaryAmount> amountType)
Sets a fixed scale, hereby setting both
minScale, maxScale to
fixedScale . |
MonetaryContext.Builder |
MonetaryContext.Builder.setFixedScale(boolean fixedScale)
Sets a fixed scale, hereby setting both
minScale, maxScale to
fixedScale . |
MonetaryContext.Builder |
MonetaryContext.Builder.setFlavor(MonetaryContext.AmountFlavor flavor)
Sets a fixed scale, hereby setting both
minScale, maxScale to
fixedScale . |
MonetaryContext.Builder |
MonetaryContext.Builder.setMaxScale(int maxScale)
Sets a maximal scale.
|
MonetaryContext.Builder |
MonetaryContext.Builder.setPrecision(int precision)
Sets the maximal precision supported.
|