Share via


ISOCurrencyCodeHelper::getISOCurrencyCodeNum Method [AX 2012]

Returns the numeric ISO currency code value for the specified ISOCurrencyCodes enumeration value.

Syntax

client server public static ISOCurrencyCodeNum getISOCurrencyCodeNum(ISOCurrencyCodes _currencyCode)

Run On

Called

Parameters

Return Value

Type: ISOCurrencyCodeNum Extended Data Type
The numeric ISO currency code value for the specified ISOCurrencyCodes enumeration value.

Remarks

When the ISOCurrencyCodes enumeration value is unknown, zero is returned.

Use this method in conditional logic that depends on a particular ISO currency code.

The unknown enumeration value was added to support setting the ISO currency code to an old currency code.

See Also

Reference

ISOCurrencyCodeHelper Class