Click or drag to resize

IConversionRatioToBaseProviderTUnitGetRatioToBaseOrDefault 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.Core.Metrics
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
ConversionRatio GetRatioToBaseOrDefault(
	TUnit unit
)

Parameters

unit
Type: TUnit
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.
See Also