Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Stores Namespace / CurrencyRepository Class / GetExchangeRate Method
Id of the currency to get exchange rate for
In This Topic
    GetExchangeRate Method (CurrencyRepository)
    In This Topic
    Gets exchange rate of the given currency
    Syntax
    public decimal GetExchangeRate( 
       int currencyId
    )

    Parameters

    currencyId
    Id of the currency to get exchange rate for

    Return Value

    Exchange rate of the given currency
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also