|
MassConvertFrom Method
|
Converts the
value in the specified
sourceUnit to a new
Mass in kilograms.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
Syntaxpublic static Mass ConvertFrom(
double value,
MassUnit sourceUnit
)
Public Shared Function ConvertFrom (
value As Double,
sourceUnit As MassUnit
) As Mass
public:
static Mass ConvertFrom(
double value,
MassUnit sourceUnit
)
static member ConvertFrom :
value : float *
sourceUnit : MassUnit -> Mass
GSF.Units.Mass.ConvertFrom = function(value, sourceUnit);
View SourceParameters
- value Double
- Source value.
- sourceUnit MassUnit
- Source value units.
Return Value
MassNew
Mass from the specified
value in
sourceUnit.
See Also