GeneralConvertUnits(Double, String, String) Method |
Namespace: DWSIM.ExtensionMethodsAssembly: DWSIM.ExtensionMethods (in DWSIM.ExtensionMethods.dll) Version: 8.8.1.0
Syntax public static double[] ConvertUnits(
this double[] vector,
string fromunits,
string tounits
)
<ExtensionAttribute>
Public Shared Function ConvertUnits (
vector As Double(),
fromunits As String,
tounits As String
) As Double()
Request Example
View SourceParameters
- vector Double
-
- fromunits String
-
- tounits String
-
Return Value
DoubleUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also