Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.CurrencyISO4217.NumberToCurrencyIdAsync Method

Converts an ISO 4217 numeric currency ID into a three character currency ID.

Class: YetaWF.Core.Components.CurrencyISO4217
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core

Syntax

public static Task<string> NumberToCurrencyIdAsync(
    int number,
    bool AllowMismatch = false );

Parameters

number

The numeric currency ID.

AllowMismatch

true to return a default value if the currency name doesn't exist, false otherwise (throws an error).

Return Value

Returns the three character currency ID.

See Also YetaWF.Core.Components.CurrencyISO4217 ClassYetaWF.Core Overview