public static class MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithScaleBuilder extends Object
RoundingMode and scale informed, is possible create a MonetaryRoundedFactory
or set the number of precision.withPrecision(int),
build()| Modifier and Type | Method and Description |
|---|---|
MonetaryRoundedFactory |
build()
Make the
MonetaryRoundedFactory using the ScaleRoundedOperator as rounding operator. |
MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithPrecisionScaleBuilder |
withPrecision(int precision)
Set the total number of digits in a number
|
public MonetaryRoundedFactory build()
MonetaryRoundedFactory using the ScaleRoundedOperator as rounding operator.MonetaryRoundedFactory with ScaleRoundedOperatorScaleRoundedOperator,
MonetaryRoundedFactorypublic MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithPrecisionScaleBuilder withPrecision(int precision)
precision - the precision to use.MonetaryRoundedFactoryBuilder.MonetaryRoundedFactoryWithPrecisionBuilderCopyright © 2012–2020 JavaMoney. All rights reserved.