Package net.sf.jasperreports.engine.util
Class Java14BigDecimalHandler
java.lang.Object
net.sf.jasperreports.engine.util.Java14BigDecimalHandler
- All Implemented Interfaces:
BigDecimalHandler
BigDecimalHandler
implementation used on Java 1.4.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondivide
(BigDecimal dividend, BigDecimal divisor) Divides the values by using the dividend scale as result scale andRoundingMode.HALF_UP
as round mode.
-
Constructor Details
-
Java14BigDecimalHandler
public Java14BigDecimalHandler()
-
-
Method Details
-
divide
Divides the values by using the dividend scale as result scale andRoundingMode.HALF_UP
as round mode.- Specified by:
divide
in interfaceBigDecimalHandler
- Parameters:
dividend
- the dividenddivisor
- the divisor- Returns:
- the division result, rounded according to the rules of the specific implementation
-