Click or drag to resize
PhysicalConvert Method
Converts a value to a different set of units.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static Physical Convert(
	Physical physical,
	string unitsNew
)

Parameters

physical
Type: Imsl.MathPhysical
A Physical object specifying the value to be converted.
unitsNew
Type: SystemString
A String specifying the units to which physical is to be converted.

Return Value

Type: Physical
A Physical object containing the value of physical converted to the new units.
Exceptions
ExceptionCondition
ArgumentException is thrown if the new and old units are incompatible
See Also