Class Java14BigDecimalHandler

    • Constructor Detail

      • Java14BigDecimalHandler

        public Java14BigDecimalHandler()
    • Method Detail

      • divide

        public BigDecimal divide​(BigDecimal dividend,
                                 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