Currency Currency
Currency Currency
DocFX + Singulink = ♥

Search Results for

    Constructor RoundingPolicy

    RoundingPolicy(int, int)

    Initializes a new instance of the RoundingPolicy class.

    Declaration
    public RoundingPolicy(int decimalDigits, int decimalUnits = 0)
    Parameters
    Type Name Description
    int decimalDigits

    The number of decimal digits that amounts are rounded to.

    int decimalUnits

    The rounding increment in units of the last decimal digit. A value of 0 or 1 indicates no additional rounding beyond the number of decimal digits.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    decimalDigits is less than 0 or greater than 28, or decimalUnits is less than 0.

    © Singulink. All rights reserved.