Currency Currency
Currency Currency
DocFX + Singulink = ♥

Search Results for

    Method RoundAmount

    RoundAmount(decimal, MidpointRounding)

    Returns the specified amount rounded according to this policy using the specified midpoint rounding mode, which defaults to ToEven ("banker's rounding") if not specified.

    Declaration
    public decimal RoundAmount(decimal amount, MidpointRounding mode = MidpointRounding.ToEven)
    Parameters
    Type Name Description
    decimal amount
    MidpointRounding mode
    Returns
    Type Description
    decimal
    © Singulink. All rights reserved.