Currency Currency
Currency Currency
DocFX + Singulink = ♥

Search Results for

    Method ToString

    ToString()

    Returns a string representation of the monetary values this bag contains.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    ToString(string?, IFormatProvider?)

    Returns a string representation of the monetary values this bag contains.

    Declaration
    public string ToString(string? format, IFormatProvider? provider = null)
    Parameters
    Type Name Description
    string format

    The format to use for each monetary value. See ToString(string?, IFormatProvider?) for valid monetary formats. Prepend the desired monetary format with the ! character to ignore zero amount values.

    IFormatProvider provider

    The format provider that will be used to obtain number format information. This should be a CultureInfo instance for formats that depend on the culture, otherwise the current culture is used.

    Returns
    Type Description
    string
    Implements
    IFormattable.ToString(string, IFormatProvider)
    © Singulink. All rights reserved.