PhysicalConstant Method (String, String) |
Returns the value of a constant, given its name, in the specified
units.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static double Constant(
string name,
string units
)
Public Shared Function Constant (
name As String,
units As String
) As Double
public:
static double Constant(
String^ name,
String^ units
)
static member Constant :
name : string *
units : string -> float
Parameters
- name
- Type: SystemString
A String representing the name of the constant to be returned.
- units
- Type: SystemString
A String representing the units in which the constant is to be
returned.
Return Value
Type:
Double
A
double containing the value of the constant in the specified
units.
Exceptions See Also