|
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)
Syntaxpublic UnitConversion(
double conversion_factor,
string unit
)
Public Sub New (
conversion_factor As Double,
unit As String
)
public:
UnitConversion(
double conversion_factor,
String^ unit
)
new :
conversion_factor : float *
unit : string -> UnitConversionParameters
- 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