public final class MonetaryRoundedFactoryBuilder extends Object
MonetaryRoundedFactory once the RoundingMode, is possible
choose the scale, the number of digits to the right of the decimal point, and the precision, the total number of digits in a number or both.org.javamoney.moneta.function.MonetaryRoundedFactoryBuilder#withScale(int)},
org.javamoney.moneta.function.MonetaryRoundedFactoryBuilder#withPrecision(int)}| Modifier and Type | Class and Description |
|---|---|
static class |
MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithPrecisionBuilder
Deprecated.
Once the
RoundingMode and precision informed, is possible create a MonetaryRoundedFactory
or set the number of scale. |
static class |
MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithPrecisionScaleBuilder
Deprecated.
Once the
RoundingMode, precision and scale informed, the next step will build a MonetaryRoundedFactory
with all these information. |
static class |
MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithScaleBuilder
Deprecated.
Once the
RoundingMode and scale informed, is possible create a MonetaryRoundedFactory
or set the number of precision. |
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Deprecated.
|
MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithPrecisionBuilder |
withPrecision(int precision)
Deprecated.
Set the total number of digits in a number
|
MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithScaleBuilder |
withScale(int scale)
Deprecated.
Set the number of digits to the right of the decimal point
|
public MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithScaleBuilder withScale(int scale)
scale - MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithScaleBuilderpublic MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithPrecisionBuilder withPrecision(int precision)
precision - MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithPrecisionBuilderCopyright © 2012-2016 JavaMoney. All Rights Reserved.