SimpleBigDecimal
is basically a {@link java.math.BigInteger BigInteger} with a few digits on the right ofthe decimal point. The number of (binary) digits on the right of the decimal point is called the scale
of the SimpleBigDecimal
. Unlike in {@link java.math.BigDecimal BigDecimal}, the scale is not adjusted automatically, but must be set manually. All SimpleBigDecimal
s taking part in the same arithmetic operation must have equal scale. The result of a multiplication of two SimpleBigDecimal
s returns a SimpleBigDecimal
with double scale.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|