Currency Currency
Currency Currency
DocFX + Singulink = ♥

Search Results for

    Property Default

    Default

    Gets the default currency registry. Unless a different registry has been set with SetDefault(Func<CurrencyRegistry>), this is a registry built from system globalization data.

    Declaration
    public static CurrencyRegistry Default { get; }
    Property Value
    Type Description
    CurrencyRegistry
    Remarks

    The system registry contains the currencies that are in use by the regions known to the runtime, with names, symbols and decimal digits sourced from system globalization data. Cash rounding rules are not available from system data, so CashRoundingPolicy is null for all currencies in the system registry. The Singulink.Globalization.Currency.Cldr package provides a data provider sourced from the Unicode Common Locale Data Repository (CLDR) that includes cash rounding rules and does not depend on runtime globalization data. Register it with SetDefaultProvider(ICurrencyDataProvider, CurrencyTypes).

    © Singulink. All rights reserved.