BigDecimal BigDecimal
BigDecimal BigDecimal
DocFX + Singulink = ♥

Search Results for

    Method Divide

    Divide(BigDecimal, BigDecimal, int, RoundingMode)

    Performs a division operation using the specified maximum extended precision.

    Declaration
    public static BigDecimal Divide(BigDecimal dividend, BigDecimal divisor, int maxExtendedPrecision, RoundingMode mode = RoundingMode.MidpointToEven)
    Parameters
    Type Name Description
    BigDecimal dividend

    The dividend of the division operation.

    BigDecimal divisor

    The divisor of the division operation.

    int maxExtendedPrecision

    If the result of the division does not fit into the precision of the dividend or divisor then this extended precision is used.

    RoundingMode mode

    The rounding mode to use.

    Returns
    Type Description
    BigDecimal
    © Singulink. All rights reserved.