CurrencyConverter Methods |
The CurrencyConverter type exposes the following members.
Name | Description | |
---|---|---|
ApplyExchangeRate | Obsolete.
Applies given exchange rate to monetary amount. If rate is negative or zero, amount is returned with no change.
| |
Convert(Decimal, Boolean, String, Int32) | Obsolete.
Converts given monetary amount expressed main currency to different currency using site specific conversion.
| |
Convert(Decimal, String, String, Int32) | Obsolete.
Converts given monetary amount expressed in one currency to another currency using site specific conversion.
| |
GetExchangeRate(Boolean, String, Int32) | Obsolete.
Calculates exchange rate for conversion from main currency to different currency.
Example: if 1 USD = 16 CZK then this method returns 1/16 = 0.0625 for conversion from USD to CZK.
| |
GetExchangeRate(String, String, Int32) | Obsolete.
Calculates exchange rate for conversion from one currency to another.
Example: if 1 USD = 16 CZK then this method returns 1/16 = 0.0625 for conversion from USD to CZK.
| |
TryGetExchangeRate(Boolean, String, Int32, Decimal) | Obsolete.
Calculates exchange rate for conversion from main currency to different currency.
Example: if 1 USD = 16 CZK then this method returns 1/16 = 0.0625 for conversion from USD to CZK.
All exceptions are logged into event log.
| |
TryGetExchangeRate(String, String, Int32, Decimal) | Obsolete.
Calculates exchange rate for conversion from one currency to another.
Example: if 1 USD = 16 CZK then this method returns 1/16 = 0.0625 for conversion from USD to CZK.
All exceptions are logged into event log.
|