Class Java14BigDecimalHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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 RoundingMode.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 RoundingMode.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