You are here: Ektron Namespace > .NET Assemblies > eCommerce > Classes > ExchangeRateApi Class > ExchangeRateApi Methods > ConvertPrice
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ExchangeRateApi.ConvertPrice Method

Converts a price from the base currency to the exchange currency.

C#
public decimal ConvertPrice(decimal basePrice, int exchangeCurrencyId);
Visual Basic
Public Function ConvertPrice(basePrice As decimal, exchangeCurrencyId As Integer) As decimal
Parameters 
Description 
basePrice 
price in the default currency. 
exchangeCurrencyId 
 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!