Click or drag to resize

CurrencyDirectoryGetRatioOrDefault Method

Gets the conversion ratio for convertion from the specified unit to the specified unit. Returns Zero when the ratio is not available.

Namespace:  Aloe.EnterpriseOne.Model.General
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public ConversionRatio GetRatioOrDefault(
	Currency sourceUnit,
	Currency destinationUnit
)

Parameters

sourceUnit
Type: Aloe.EnterpriseOne.Model.GeneralCurrency
From unit.
destinationUnit
Type: Aloe.EnterpriseOne.Model.GeneralCurrency
To unit.

Return Value

Type: ConversionRatio
The conversion ratio between the specified units.

Implements

IConversionRatioProviderTUnitGetRatioOrDefault(TUnit, TUnit)
See Also