PowerConvertFrom Method
Converts the
value in the specified
sourceUnit to a new
Power in watts.
Namespace: Gemstone.UnitsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.138 -- Release Build+dacff88cce10d287c7434d5aac59c76948c712b1
Public Shared Function ConvertFrom (
value As Double,
sourceUnit As PowerUnit
) As Power
public:
static Power ConvertFrom(
double value,
PowerUnit sourceUnit
)
Gemstone.Units.Power.ConvertFrom = function(value, sourceUnit);
- value Double
- Source value.
- sourceUnit PowerUnit
- Source value units.
PowerNew
Power from the specified
value in
sourceUnit.