net.sf.jasperreports.engine.util

## Class Java14BigDecimalHandler

- java.lang.Object
- - net.sf.jasperreports.engine.util.Java14BigDecimalHandler

- All Implemented Interfaces:
    BigDecimalHandler

      public class Java14BigDecimalHandler
      extends java.lang.Object
      implements BigDecimalHandler

  `BigDecimalHandler` implementation used on Java 1.4.
  Version:
    $Id: Java14BigDecimalHandler.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
  See Also:
    `BigDecimalUtils.divide(BigDecimal, BigDecimal)`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Java14BigDecimalHandler()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.math.BigDecimal` | `divide(java.math.BigDecimal dividend, java.math.BigDecimal divisor)` Divides the values by using the dividend scale as result scale and `BigDecimal.ROUND_HALF_UP` as round mode.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Java14BigDecimalHandler

          public Java14BigDecimalHandler()

  - ### Method Detail

    - #### divide

          public java.math.BigDecimal divide(java.math.BigDecimal dividend,
                                    java.math.BigDecimal divisor)

      Divides the values by using the dividend scale as result scale and `BigDecimal.ROUND_HALF_UP` as round mode.
      Specified by:
        `divide` in interface `BigDecimalHandler`
      Parameters:
        `dividend` - the dividend
        `divisor` - the divisor
      Returns:
        the division result, rounded according to the rules of the specific implementation

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com