Gets the conversion rate from one currency to another.

Namespace:  RightEdge.Common
Assembly:  Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
ReturnValue<double> GetConversionRate(
	CurrencyType source,
	CurrencyType dest,
	QuoteType type
)
Visual Basic (Declaration)
Function GetConversionRate ( _
	source As CurrencyType, _
	dest As CurrencyType, _
	type As QuoteType _
) As ReturnValue(Of Double)
Visual C++
ReturnValue<double>^ GetConversionRate(
	CurrencyType source, 
	CurrencyType dest, 
	QuoteType type
)

Parameters

source
Type: RightEdge.Common..::.CurrencyType
The source currency
dest
Type: RightEdge.Common..::.CurrencyType
The destination currency
type
Type: RightEdge.Common..::.QuoteType
The quote type

Return Value

The current rate at which the source currency can be converted to the destination currency.

See Also