|
UnitConversion Constructor (Double, String)
|
create new units conversion object
Namespace:
Karamba.Utilities
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
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 -> UnitConversion
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