Click or drag to resize

UnitConversion Constructor (Double, String)

Initializes a new instance of the UnitConversion class. create new units conversion object.

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public UnitConversion(
	double conversion_factor,
	string unit
)

Parameters

conversion_factor
Type: SystemDouble
factor to be used for converting value given in unit to the base unit.
unit
Type: SystemString
string representation of the unit from which to convert to the base unit.
See Also