Converts the specified quantity value from a given unit to another unit.
[Visual Basic .NET] |
---|
Public Function ConvertQuantity( _ ByVal DimensionName As String, _ ByVal FromUnit As String, _ ByVal ToUnit As String, _ ByVal FromValue As Double _ ) As |
[C#] |
---|
public double ConvertQuantity( string DimensionName, string FromUnit, string ToUnit, double FromValue ); |
[Managed C++] |
---|
public: double ConvertQuantity( String __gc ^ DimensionName, String __gc ^ FromUnit, String __gc ^ ToUnit, double FromValue ); |
[Java] |
---|
public double convertQuantity( String DimensionName, String FromUnit, String ToUnit, double FromValue ); |
[Unmanaged C++] |
---|
public: HRESULT ConvertQuantity( BSTR DimensionName, BSTR FromUnit, BSTR ToUnit, double FromValue, double * pToValue ); |
- DimensionName
- FromUnit
- ToUnit
- FromValue
Convert a quantity unit to another unit
[C#] | ||
---|---|---|
|
Convert a quantity unit to another unit
[Visual Basic .NET] | ||
---|---|---|
|