Click or drag to resize

IConversionRatioProviderTUnitGetRatioOrDefault 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.Core.Metrics
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
ConversionRatio GetRatioOrDefault(
	TUnit sourceUnit,
	TUnit destinationUnit
)

Parameters

sourceUnit
Type: TUnit
From unit.
destinationUnit
Type: TUnit
To unit.

Return Value

Type: ConversionRatio
The conversion ratio between the specified units.
See Also