Click or drag to resize

CurrencyDirectoryGetRatioToBaseOrDefault Method

Gets the conversion ratio from the specified unit to the base unit for this provider. Returns Zero if 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 GetRatioToBaseOrDefault(
	Currency unit
)

Parameters

unit
Type: Aloe.EnterpriseOne.Model.GeneralCurrency
The unit for which to provide the conversion ratio to the base unit.

Return Value

Type: ConversionRatio
The ConversionRatio from the specified unit to the base unit.

Implements

IConversionRatioToBaseProviderTUnitGetRatioToBaseOrDefault(TUnit)
See Also