public class Java14BigDecimalHandler extends Object implements BigDecimalHandler
BigDecimalHandler
implementation used on Java 1.4.BigDecimalUtils.divide(BigDecimal, BigDecimal)
Constructor and Description |
---|
Java14BigDecimalHandler() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
divide(BigDecimal dividend,
BigDecimal divisor)
Divides the values by using the dividend scale as result scale
and
BigDecimal.ROUND_HALF_UP as round mode. |
public BigDecimal divide(BigDecimal dividend, BigDecimal divisor)
BigDecimal.ROUND_HALF_UP
as round mode.divide
in interface BigDecimalHandler
dividend
- the dividenddivisor
- the divisorCopyright © 2016. All rights reserved.