Click or drag to resize

ConversionRatioConvert Method

Converts the specified value by applying the conversion ratio.

Namespace:  Aloe.EnterpriseOne.Model.Core.Metrics
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public decimal Convert(
	decimal fromValue
)

Parameters

fromValue
Type: SystemDecimal
The value to convert.

Return Value

Type: Decimal
The converted value.
Remarks
Convert(Decimal) converts the value by applying the conversion ratio.
Examples
ConversionRatio boxesToPieces = new ConversionRatio(12, 1); //12 pieces in a box decimal totalBoxes = 3; decimal totalPieces = boxesToPieces.Convert(totalBoxes); //36
See Also