Click or drag to resize
PhysicalConstant Method (String, String)
Returns the value of a constant, given its name, in the specified units.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static double Constant(
	string name,
	string units
)

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
ExceptionCondition
ArgumentException is thrown if the constant name is undefined
See Also