Click or drag to resize

GeneralConvertUnits(Double, String, String) Method


Namespace: DWSIM.ExtensionMethods
Assembly: DWSIM.ExtensionMethods (in DWSIM.ExtensionMethods.dll) Version: 8.8.1.0
Syntax
public static double ConvertUnits(
	this double d,
	string fromunits,
	string tounits
)
Request Example View Source

Parameters

d  Double
 
fromunits  String
 
tounits  String
 

Return Value

Double

Usage 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